Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 113.3 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 187.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002202/0.002202, allocations: 287.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9481/0.9482, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 99.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3832, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006993/0.3903, allocations: 5.45 MB / 0.7723 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1545/0.5448, allocations: 151.1 MB / 0.9199 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.5459, allocations: 19.94 kB / 0.92 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009164/0.5469, allocations: 205.9 kB / 0.9202 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.5493, allocations: 0.6852 MB / 0.9208 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.5517, allocations: 0.9809 MB / 0.9218 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002295/0.5541, allocations: 1.908 MB / 0.9236 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.5556, allocations: 1.076 MB / 0.9247 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.5568, allocations: 0.8096 MB / 0.9255 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.558, allocations: 0.8635 MB / 0.9263 GB, free: 132 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004432/0.5585, allocations: 208 kB / 0.9265 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.5597, allocations: 0.5659 MB / 0.9271 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005271/0.5603, allocations: 490.4 kB / 0.9275 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.5613, allocations: 0.9094 MB / 0.9284 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.5641, allocations: 2.483 MB / 0.9309 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5641, allocations: 0 / 0.9309 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5641, allocations: 0 / 0.9309 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.844e-05/0.5642, allocations: 0 / 0.9309 GB, free: 11.48 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00469/0.5689, allocations: 2.027 MB / 0.9328 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5689, allocations: 8.031 kB / 0.9328 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.57, allocations: 262.5 kB / 0.9331 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.5716, allocations: 0.9849 MB / 0.9341 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.441e-05/0.5717, allocations: 115.1 kB / 0.9342 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.5719, allocations: 148 kB / 0.9343 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.5746, allocations: 1.588 MB / 0.9359 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.5746, allocations: 0 / 0.9359 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.5748, allocations: 67.98 kB / 0.9359 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.5748, allocations: 40 kB / 0.936 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.5774, allocations: 1.635 MB / 0.9376 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007115/0.5846, allocations: 4.095 MB / 0.9416 GB, free: 268 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.5869, allocations: 1.186 MB / 0.9427 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008612/0.5878, allocations: 475.6 kB / 0.9432 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.5879, allocations: 48.98 kB / 0.9432 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/0.5894, allocations: 0.7808 MB / 0.944 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=128): time 3.307e-06/0.5894, allocations: 0 / 0.944 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=128): time 0.004575/0.5939, allocations: 1.838 MB / 0.9458 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5941, allocations: 201.2 kB / 0.946 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.5954, allocations: 0.8653 MB / 0.9468 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.5955, allocations: 53.7 kB / 0.9469 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005136/0.596, allocations: 0.6092 MB / 0.9475 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.5964, allocations: 406.2 kB / 0.9478 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/0.5968, allocations: 258.7 kB / 0.9481 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5969, allocations: 349.9 kB / 0.9484 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008973/0.5978, allocations: 446.4 kB / 0.9489 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.5989, allocations: 0.5609 MB / 0.9494 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.6008, allocations: 0.9857 MB / 0.9504 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6008, allocations: 0 / 0.9504 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003149/0.6039, allocations: 1.34 MB / 0.9517 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.604, allocations: 6.656 kB / 0.9517 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.604, allocations: 8.094 kB / 0.9517 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/0.6046, allocations: 76.78 kB / 0.9518 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.6059, allocations: 275.6 kB / 0.952 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.6082, allocations: 1.634 MB / 0.9536 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.6095, allocations: 147 kB / 0.9538 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.6097, allocations: 67.94 kB / 0.9538 GB, free: 3.371 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007572/0.6104, allocations: 353.8 kB / 0.9542 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.6108, allocations: 126.4 kB / 0.9543 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/0.6149, allocations: 1.694 MB / 0.9559 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.51e-05/0.6149, allocations: 7.969 kB / 0.9559 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.615, allocations: 0 / 0.9559 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.616, allocations: 375 kB / 0.9563 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004206/0.6164, allocations: 39.91 kB / 0.9563 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.6177, allocations: 83.91 kB / 0.9564 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/0.618, allocations: 117.1 kB / 0.9565 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3332/0.9513, allocations: 1.414 MB / 0.9579 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003928/0.9552, allocations: 2.121 MB / 0.96 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008885/0.9561, allocations: 0.5506 MB / 0.9605 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008666/0.957, allocations: 0.6488 MB / 0.9612 GB, free: 186 MB / 0.7169 GB Notification: Performance of Backend: time 5.81e-07/0.957, allocations: 0 / 0.9612 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003746/0.9608, allocations: 1.546 MB / 0.9627 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003496/0.9643, allocations: 2.806 MB / 0.9654 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.02855/0.9928, allocations: 23.1 MB / 0.988 GB, free: 166 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)