Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 76.94 kB / 19.93 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 172.9 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001628/0.001628, allocations: 250.2 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6983/0.6983, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 462.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.106e-05, allocations: 3.297 kB / 462.3 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.00397/0.003991, allocations: 3.64 MB / 465.9 MB, free: 14.62 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004317/0.008308, allocations: 3.703 MB / 469.6 MB, free: 11.39 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.008638, allocations: 15.88 kB / 469.6 MB, free: 11.38 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000413/0.009051, allocations: 115.5 kB / 469.7 MB, free: 11.26 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.01016, allocations: 0.5192 MB / 470.3 MB, free: 10.74 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006413/0.0108, allocations: 360.8 kB / 470.6 MB, free: 10.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006538/0.01146, allocations: 0.7758 MB / 471.4 MB, free: 9.617 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.01166, allocations: 143.5 kB / 471.5 MB, free: 9.484 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000564/0.01223, allocations: 456 kB / 472 MB, free: 9.039 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.01257, allocations: 247.2 kB / 472.2 MB, free: 8.797 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/0.01264, allocations: 65.12 kB / 472.3 MB, free: 8.734 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008005/0.01344, allocations: 0.5459 MB / 472.8 MB, free: 8.188 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.01357, allocations: 172.3 kB / 473 MB, free: 8.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.01373, allocations: 207.4 kB / 473.2 MB, free: 7.816 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009819/0.01471, allocations: 0.9186 MB / 474.1 MB, free: 6.895 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01472, allocations: 1.219 kB / 474.1 MB, free: 6.895 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.01472, allocations: 0 / 474.1 MB, free: 6.895 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.01473, allocations: 0 / 474.1 MB, free: 6.895 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001127/0.01585, allocations: 0.938 MB / 475 MB, free: 5.938 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.01589, allocations: 9.531 kB / 475.1 MB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.01702, allocations: 353 kB / 475.4 MB, free: 5.594 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.01745, allocations: 366.1 kB / 475.8 MB, free: 5.215 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.01757, allocations: 195.8 kB / 476 MB, free: 4.988 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.01764, allocations: 48.38 kB / 476 MB, free: 4.941 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/0.01829, allocations: 0.546 MB / 476.5 MB, free: 4.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.0183, allocations: 5.25 kB / 476.5 MB, free: 4.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-05/0.01835, allocations: 16 kB / 476.6 MB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.01836, allocations: 12.75 kB / 476.6 MB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.0187, allocations: 240.3 kB / 476.8 MB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.02036, allocations: 1.024 MB / 477.8 MB, free: 3.066 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/0.0212, allocations: 399.2 kB / 478.2 MB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.02138, allocations: 116.4 kB / 478.3 MB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004563/0.02184, allocations: 184.6 kB / 478.5 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.02211, allocations: 237 kB / 478.8 MB, free: 2.141 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/0.02211, allocations: 1.031 kB / 478.8 MB, free: 2.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.0005289/0.02264, allocations: 348.1 kB / 479.1 MB, free: 1.801 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.02269, allocations: 108 kB / 479.2 MB, free: 1.672 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.02294, allocations: 379.2 kB / 479.6 MB, free: 1.293 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.02299, allocations: 34.83 kB / 479.6 MB, free: 1.254 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.02309, allocations: 234 kB / 479.8 MB, free: 1.023 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.0232, allocations: 186.3 kB / 480 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.02334, allocations: 122.7 kB / 480.1 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.02344, allocations: 367.4 kB / 480.5 MB, free: 356 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.02356, allocations: 74.14 kB / 480.6 MB, free: 284 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.02378, allocations: 261.9 kB / 480.8 MB, free: 15.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.02411, allocations: 321.9 kB / 481.1 MB, free: 15.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.02411, allocations: 3.938 kB / 481.1 MB, free: 15.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004193/0.02453, allocations: 343.9 kB / 481.5 MB, free: 15.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.02455, allocations: 8.781 kB / 481.5 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.02456, allocations: 4 kB / 481.5 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.02458, allocations: 6.125 kB / 481.5 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.02498, allocations: 151.8 kB / 481.6 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.02498, allocations: 4 kB / 481.6 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.02524, allocations: 81.62 kB / 481.7 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.02528, allocations: 23.97 kB / 481.7 MB, free: 15 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 4 (radiation.outsidePolarCircle,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.02543, allocations: 154.6 kB / 481.9 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/0.02551, allocations: 44.72 kB / 481.9 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006447/0.02615, allocations: 459.9 kB / 482.4 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.02615, allocations: 8.969 kB / 482.4 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.02616, allocations: 0 / 482.4 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.02616, allocations: 4.984 kB / 482.4 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/0.02703, allocations: 0.7318 MB / 483.1 MB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.02704, allocations: 5.031 kB / 483.1 MB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.02737, allocations: 129.6 kB / 483.3 MB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.02738, allocations: 4 kB / 483.3 MB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.02741, allocations: 17.56 kB / 483.3 MB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.02741, allocations: 4 kB / 483.3 MB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.02742, allocations: 1 kB / 483.3 MB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.02782, allocations: 421.1 kB / 483.7 MB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.02797, allocations: 99.39 kB / 483.8 MB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.035e-05/0.02803, allocations: 13.03 kB / 483.8 MB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.02824, allocations: 37.28 kB / 483.8 MB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.02831, allocations: 40.58 kB / 483.9 MB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.02834, allocations: 17.75 kB / 483.9 MB, free: 12.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.02847, allocations: 160.7 kB / 484.1 MB, free: 12.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02847, allocations: 0 / 484.1 MB, free: 12.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005169/0.02899, allocations: 255.3 kB / 484.3 MB, free: 12.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001417/0.0304, allocations: 0.6943 MB / 485 MB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.03085, allocations: 318.2 kB / 485.3 MB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.03086, allocations: 5.5 kB / 485.3 MB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.03106, allocations: 178.7 kB / 485.5 MB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.03136, allocations: 94.66 kB / 485.6 MB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.0327, allocations: 0.9913 MB / 486.6 MB, free: 10.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.066e-05/0.03279, allocations: 136.7 kB / 486.7 MB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003609/0.03315, allocations: 141 kB / 486.9 MB, free: 10.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.03347, allocations: 167.3 kB / 487 MB, free: 10.06 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03347, allocations: 1.031 kB / 487 MB, free: 10.06 MB / 442.7 MB Notification: Performance of Templates: time 0.01244/0.04591, allocations: 10.51 MB / 497.5 MB, free: 15.88 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.907649707980454]