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.001361/0.001361, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001078/0.001078, allocations: 177 kB / 23.36 MB, free: 1.133 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.046/1.046, allocations: 177.2 MB / 203.8 MB, free: 5.5 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.001659/0.001659, allocations: 244.9 kB / 260.5 MB, free: 12.73 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.7192/0.7192, allocations: 138.4 MB / 402.2 MB, free: 0.543 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.212e-06/1.212e-06, allocations: 0 / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.203e-05, allocations: 3.625 kB / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.003895/0.003907, allocations: 3.683 MB / 466 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004246/0.008153, allocations: 3.703 MB / 469.7 MB, free: 11.29 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.008368, allocations: 16.41 kB / 469.7 MB, free: 11.28 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.0003488/0.008717, allocations: 116.1 kB / 469.8 MB, free: 11.16 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008723/0.009589, allocations: 0.5001 MB / 470.3 MB, free: 10.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.01008, allocations: 354.1 kB / 470.7 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.01062, allocations: 0.7758 MB / 471.5 MB, free: 9.543 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.01079, allocations: 135.5 kB / 471.6 MB, free: 9.418 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004187/0.01121, allocations: 463.7 kB / 472 MB, free: 8.965 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.01149, allocations: 248.1 kB / 472.3 MB, free: 8.723 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.01155, allocations: 68 kB / 472.3 MB, free: 8.656 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006539/0.01221, allocations: 0.5711 MB / 472.9 MB, free: 8.086 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.01232, allocations: 171.4 kB / 473.1 MB, free: 7.918 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.01246, allocations: 207.4 kB / 473.3 MB, free: 7.715 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007732/0.01323, allocations: 0.9225 MB / 474.2 MB, free: 6.789 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.01323, allocations: 0.625 kB / 474.2 MB, free: 6.789 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01323, allocations: 0 / 474.2 MB, free: 6.789 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.01324, allocations: 2.219 kB / 474.2 MB, free: 6.789 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.001253/0.01449, allocations: 0.9288 MB / 475.1 MB, free: 5.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.01452, allocations: 10.22 kB / 475.2 MB, free: 5.832 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.01565, allocations: 357 kB / 475.5 MB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.01603, allocations: 360.2 kB / 475.9 MB, free: 5.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.01613, allocations: 203.8 kB / 476.1 MB, free: 4.883 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.01618, allocations: 47.03 kB / 476.1 MB, free: 4.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/0.01679, allocations: 0.5481 MB / 476.6 MB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.0168, allocations: 1 kB / 476.6 MB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.01684, allocations: 18.39 kB / 476.7 MB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01685, allocations: 12 kB / 476.7 MB, free: 4.234 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.01717, allocations: 237 kB / 476.9 MB, free: 4.008 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.0187, allocations: 1.032 MB / 477.9 MB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.01952, allocations: 395.6 kB / 478.3 MB, free: 2.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.0197, allocations: 117 kB / 478.4 MB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004378/0.02014, allocations: 183.3 kB / 478.6 MB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.02041, allocations: 243.3 kB / 478.9 MB, free: 2.035 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 1.774e-06/0.02042, allocations: 0 / 478.9 MB, free: 2.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.0005899/0.02101, allocations: 338 kB / 479.2 MB, free: 1.703 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.02105, allocations: 112.6 kB / 479.3 MB, free: 1.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.02131, allocations: 375.2 kB / 479.7 MB, free: 1.195 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.02135, allocations: 33.7 kB / 479.7 MB, free: 1.156 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.02145, allocations: 238.5 kB / 479.9 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.02156, allocations: 190.3 kB / 480.1 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.02169, allocations: 118.9 kB / 480.2 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.02179, allocations: 366.6 kB / 480.6 MB, free: 252 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.02192, allocations: 78.59 kB / 480.7 MB, free: 176 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.02213, allocations: 254.3 kB / 480.9 MB, free: 15.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.02249, allocations: 322 kB / 481.2 MB, free: 15.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.02249, allocations: 3.938 kB / 481.2 MB, free: 15.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004218/0.02291, allocations: 339.3 kB / 481.6 MB, free: 15.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.02293, allocations: 11.94 kB / 481.6 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.02293, allocations: 6.656 kB / 481.6 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.02295, allocations: 4 kB / 481.6 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.0234, allocations: 171.7 kB / 481.8 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.02341, allocations: 17.58 kB / 481.8 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.02365, allocations: 73.48 kB / 481.8 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.02369, allocations: 23.97 kB / 481.9 MB, free: 14.88 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.0003949/0.02408, allocations: 144.5 kB / 482 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.02416, allocations: 54.23 kB / 482.1 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/0.02478, allocations: 454.1 kB / 482.5 MB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.02479, allocations: 8 kB / 482.5 MB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.02479, allocations: 0 / 482.5 MB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.0248, allocations: 5.453 kB / 482.5 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008214/0.02562, allocations: 0.7363 MB / 483.3 MB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.02562, allocations: 0.9375 kB / 483.3 MB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.02599, allocations: 141.5 kB / 483.4 MB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.02599, allocations: 0 / 483.4 MB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.02602, allocations: 21.66 kB / 483.4 MB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.02603, allocations: 4 kB / 483.4 MB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02603, allocations: 1.25 kB / 483.4 MB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.02643, allocations: 416.9 kB / 483.8 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.02656, allocations: 103.4 kB / 483.9 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.02662, allocations: 12 kB / 483.9 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.02683, allocations: 39.84 kB / 484 MB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.02689, allocations: 37.14 kB / 484 MB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.02693, allocations: 19.97 kB / 484 MB, free: 12.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.02704, allocations: 163 kB / 484.2 MB, free: 12.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02704, allocations: 0 / 484.2 MB, free: 12.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004355/0.02747, allocations: 255.3 kB / 484.4 MB, free: 12.28 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.001419/0.02889, allocations: 0.6995 MB / 485.1 MB, free: 11.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004055/0.0293, allocations: 302.7 kB / 485.4 MB, free: 11.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.02931, allocations: 9.5 kB / 485.4 MB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.02951, allocations: 183.3 kB / 485.6 MB, free: 11.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.02979, allocations: 99.86 kB / 485.7 MB, free: 11.35 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.03104, allocations: 0.9839 MB / 486.7 MB, free: 10.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.625e-05/0.03112, allocations: 132.8 kB / 486.8 MB, free: 10.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003499/0.03147, allocations: 139.5 kB / 487 MB, free: 10.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.03181, allocations: 168 kB / 487.1 MB, free: 9.938 MB / 442.7 MB Notification: Performance of SimCode: time 7.51e-07/0.03181, allocations: 0.75 kB / 487.1 MB, free: 9.938 MB / 442.7 MB Notification: Performance of Templates: time 0.01253/0.04434, allocations: 10.52 MB / 497.7 MB, free: 15.74 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.887938506901264]