Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.0008534/0.0008534, allocations: 80.94 kB / 19.94 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.0009352/0.0009352, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9546/0.9546, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.001683/0.001683, allocations: 249.9 kB / 260.5 MB, free: 12.69 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.717/0.717, allocations: 138.4 MB / 402.2 MB, free: 0.582 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.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.655e-05, allocations: 4.281 kB / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.004276/0.004292, allocations: 3.681 MB / 466 MB, free: 14.54 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005334/0.009626, allocations: 3.732 MB / 469.7 MB, free: 11.3 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/0.01004, allocations: 12.59 kB / 469.7 MB, free: 11.29 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.0004665/0.0105, allocations: 126.8 kB / 469.8 MB, free: 11.16 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.01184, allocations: 0.5275 MB / 470.4 MB, free: 10.63 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.01262, allocations: 377.2 kB / 470.7 MB, free: 10.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007965/0.01342, allocations: 0.8031 MB / 471.5 MB, free: 9.465 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.01365, allocations: 136.4 kB / 471.7 MB, free: 9.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008199/0.01447, allocations: 474.8 kB / 472.1 MB, free: 8.875 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003755/0.01484, allocations: 260.4 kB / 472.4 MB, free: 8.621 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.01493, allocations: 64 kB / 472.4 MB, free: 8.559 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008495/0.01578, allocations: 0.5516 MB / 473 MB, free: 8.008 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.01593, allocations: 179.4 kB / 473.2 MB, free: 7.832 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.01612, allocations: 215.4 kB / 473.4 MB, free: 7.621 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.01724, allocations: 0.9265 MB / 474.3 MB, free: 6.691 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.01724, allocations: 0.7812 kB / 474.3 MB, free: 6.691 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.01724, allocations: 3.984 kB / 474.3 MB, free: 6.688 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.01725, allocations: 0.5312 kB / 474.3 MB, free: 6.688 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001321/0.01857, allocations: 0.9624 MB / 475.3 MB, free: 5.707 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.0186, allocations: 8.75 kB / 475.3 MB, free: 5.699 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.02014, allocations: 381.6 kB / 475.7 MB, free: 5.336 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.02067, allocations: 372.3 kB / 476 MB, free: 4.949 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.0208, allocations: 195.8 kB / 476.2 MB, free: 4.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.02088, allocations: 48.38 kB / 476.3 MB, free: 4.676 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008103/0.02169, allocations: 0.5587 MB / 476.8 MB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.02171, allocations: 0 / 476.8 MB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.02176, allocations: 21.03 kB / 476.8 MB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.02177, allocations: 12 kB / 476.8 MB, free: 4.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.02222, allocations: 249.2 kB / 477.1 MB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.02422, allocations: 1.095 MB / 478.2 MB, free: 2.699 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008897/0.02511, allocations: 372.1 kB / 478.6 MB, free: 2.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.02535, allocations: 132.3 kB / 478.7 MB, free: 2.211 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/0.02589, allocations: 190.1 kB / 478.9 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006456/0.02654, allocations: 262.5 kB / 479.1 MB, free: 1.762 MB / 426.7 MB Notification: Performance of pre-optimization done (n=58): time 2.024e-06/0.02654, allocations: 1.375 kB / 479.1 MB, free: 1.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.002819/0.02936, allocations: 0.9567 MB / 480.1 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.0294, allocations: 111.3 kB / 480.2 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.0297, allocations: 383.2 kB / 480.6 MB, free: 308 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.02975, allocations: 34.27 kB / 480.6 MB, free: 268 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.02987, allocations: 231.6 kB / 480.8 MB, free: 36 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.03002, allocations: 206.4 kB / 481 MB, free: 15.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.0302, allocations: 118.2 kB / 481.1 MB, free: 15.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.03031, allocations: 366.7 kB / 481.5 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.03048, allocations: 85.27 kB / 481.6 MB, free: 15.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.03074, allocations: 250.4 kB / 481.8 MB, free: 14.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.03118, allocations: 327.7 kB / 482.1 MB, free: 14.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.03119, allocations: 3.75 kB / 482.1 MB, free: 14.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001412/0.0326, allocations: 0.5671 MB / 482.7 MB, free: 14.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.03262, allocations: 8.562 kB / 482.7 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.03263, allocations: 0.5625 kB / 482.7 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009157/0.03354, allocations: 300.1 kB / 483 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.03399, allocations: 136.6 kB / 483.2 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.03606, allocations: 1.557 MB / 484.7 MB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.03642, allocations: 73.41 kB / 484.8 MB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.03648, allocations: 28.97 kB / 484.8 MB, free: 11.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (70): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001922/0.03667, allocations: 149.6 kB / 485 MB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-05/0.03677, allocations: 47.95 kB / 485 MB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.03807, allocations: 0.6202 MB / 485.6 MB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.03807, allocations: 8 kB / 485.6 MB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.03808, allocations: 0.625 kB / 485.6 MB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.03808, allocations: 4.609 kB / 485.6 MB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.03987, allocations: 0.9053 MB / 486.5 MB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.03987, allocations: 1 kB / 486.5 MB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.04027, allocations: 119.8 kB / 486.7 MB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006052/0.04088, allocations: 194 kB / 486.8 MB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.04092, allocations: 19.97 kB / 486.9 MB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.04262, allocations: 1.535 MB / 488.4 MB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.04262, allocations: 0 / 488.4 MB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.04363, allocations: 0.5612 MB / 489 MB, free: 7.648 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.04383, allocations: 103.9 kB / 489.1 MB, free: 7.547 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.04391, allocations: 16.62 kB / 489.1 MB, free: 7.531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.0442, allocations: 38.97 kB / 489.1 MB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.04429, allocations: 56.53 kB / 489.2 MB, free: 7.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.04434, allocations: 16.58 kB / 489.2 MB, free: 7.426 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.0445, allocations: 165.3 kB / 489.4 MB, free: 7.262 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0445, allocations: 0 / 489.4 MB, free: 7.262 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007504/0.04525, allocations: 264.2 kB / 489.6 MB, free: 7.004 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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00164/0.04689, allocations: 0.6949 MB / 490.3 MB, free: 6.645 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007609/0.04765, allocations: 474.8 kB / 490.8 MB, free: 6.172 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.04766, allocations: 4.75 kB / 490.8 MB, free: 6.168 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006206/0.04828, allocations: 398.8 kB / 491.2 MB, free: 5.766 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.04867, allocations: 105.3 kB / 491.3 MB, free: 5.672 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.05042, allocations: 1.041 MB / 492.3 MB, free: 4.605 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.05054, allocations: 154.7 kB / 492.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000431/0.05097, allocations: 124.2 kB / 492.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.05134, allocations: 167.3 kB / 492.7 MB, free: 4.164 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.05134, allocations: 3.938 kB / 492.7 MB, free: 4.16 MB / 442.7 MB Notification: Performance of Templates: time 0.01818/0.06953, allocations: 12.91 MB / 0.4938 GB, free: 7.531 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9604619811289012]