Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 115.1 kB / 16.42 MB, free: 6.496 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.001863/0.001863, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.346/1.346, 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.002207/0.002207, allocations: 296.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9284/0.9284, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 96.28 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4239, allocations: 86.97 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006186/0.4302, allocations: 4.485 MB / 0.7714 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1528/0.583, allocations: 150.8 MB / 0.9186 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007084/0.5837, allocations: 23.88 kB / 0.9187 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.5844, allocations: 174.3 kB / 0.9188 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.5863, allocations: 0.53 MB / 0.9193 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.5883, allocations: 0.8396 MB / 0.9202 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.59, allocations: 1.374 MB / 0.9215 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009955/0.591, allocations: 0.6237 MB / 0.9221 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007695/0.5918, allocations: 0.506 MB / 0.9226 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007911/0.5926, allocations: 0.5238 MB / 0.9231 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.5929, allocations: 120 kB / 0.9232 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009927/0.5939, allocations: 487.6 kB / 0.9237 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.5942, allocations: 311 kB / 0.924 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.5948, allocations: 0.5596 MB / 0.9245 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.5967, allocations: 1.661 MB / 0.9262 GB, free: 384 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5967, allocations: 0 / 0.9262 GB, free: 384 kB / 0.6856 GB Notification: Performance of FrontEnd: time 3.105e-06/0.5967, allocations: 0 / 0.9262 GB, free: 384 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.5968, allocations: 3.938 kB / 0.9262 GB, free: 380 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002689/0.5995, allocations: 1.468 MB / 0.9276 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5995, allocations: 12.02 kB / 0.9276 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009477/0.6005, allocations: 183.4 kB / 0.9278 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.6017, allocations: 0.7857 MB / 0.9286 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.6017, allocations: 73.94 kB / 0.9286 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.6019, allocations: 87.92 kB / 0.9287 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.6036, allocations: 0.9652 MB / 0.9297 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.6036, allocations: 0 / 0.9297 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.6037, allocations: 36 kB / 0.9297 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.6038, allocations: 24 kB / 0.9297 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.6057, allocations: 1.163 MB / 0.9308 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004374/0.6101, allocations: 2.644 MB / 0.9334 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.6116, allocations: 0.8394 MB / 0.9342 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/0.6122, allocations: 326.6 kB / 0.9346 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-05/0.6123, allocations: 32.69 kB / 0.9346 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009643/0.6133, allocations: 0.5353 MB / 0.9351 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 3.767e-06/0.6133, allocations: 0 / 0.9351 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003409/0.6168, allocations: 1.286 MB / 0.9364 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.6169, allocations: 192.9 kB / 0.9366 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/0.6178, allocations: 0.6566 MB / 0.9372 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.336e-05/0.6179, allocations: 41.7 kB / 0.9372 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.6183, allocations: 404.5 kB / 0.9376 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.6185, allocations: 287.8 kB / 0.9379 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.6188, allocations: 178.5 kB / 0.9381 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.619, allocations: 398.7 kB / 0.9384 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.6195, allocations: 285.8 kB / 0.9387 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/0.6202, allocations: 391.1 kB / 0.9391 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.6215, allocations: 0.6555 MB / 0.9397 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.6215, allocations: 0 / 0.9397 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002128/0.6236, allocations: 0.919 MB / 0.9406 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6237, allocations: 10.28 kB / 0.9406 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6237, allocations: 0 / 0.9406 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/0.6243, allocations: 88.77 kB / 0.9407 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/0.625, allocations: 179.7 kB / 0.9409 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.6272, allocations: 1.626 MB / 0.9425 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.6281, allocations: 99.42 kB / 0.9426 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-05/0.6281, allocations: 39.97 kB / 0.9426 GB, free: 15 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.000454/0.6286, allocations: 283.6 kB / 0.9429 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.6288, allocations: 94.81 kB / 0.943 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.6314, allocations: 1.156 MB / 0.9441 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.6315, allocations: 11.98 kB / 0.9441 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6315, allocations: 0 / 0.9441 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.6319, allocations: 275.7 kB / 0.9444 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.632, allocations: 31.92 kB / 0.9444 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.6327, allocations: 63.92 kB / 0.9445 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.6329, allocations: 76.89 kB / 0.9445 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002191/0.6351, allocations: 1.018 MB / 0.9455 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002396/0.6375, allocations: 1.504 MB / 0.947 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006279/0.6381, allocations: 383.8 kB / 0.9474 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006141/0.6388, allocations: 479 kB / 0.9478 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of Backend: time 4.61e-07/0.6388, allocations: 4 kB / 0.9478 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003344/0.6421, allocations: 1.307 MB / 0.9491 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003065/0.6452, allocations: 2.099 MB / 0.9512 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of Templates: time 0.3323/0.9775, allocations: 17.12 MB / 0.9679 GB, free: 185.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)