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.0009692/0.0009692, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008715/0.008716, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001763, allocations: 274.5 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9336/0.9336, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004074, allocations: 17.52 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1404, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00452/0.145, allocations: 4.054 MB / 0.6891 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4291/0.574, allocations: 146.9 MB / 0.8325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005244/0.5746, allocations: 14.69 kB / 0.8325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.5751, allocations: 145.7 kB / 0.8326 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.5764, allocations: 461.1 kB / 0.8331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.578, allocations: 0.7221 MB / 0.8338 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.5793, allocations: 1.279 MB / 0.835 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008389/0.5801, allocations: 0.591 MB / 0.8356 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.5807, allocations: 371.1 kB / 0.836 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004427/0.5811, allocations: 410 kB / 0.8364 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.552e-05/0.5812, allocations: 28.59 kB / 0.8364 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007248/0.5819, allocations: 368.1 kB / 0.8367 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.5821, allocations: 201.8 kB / 0.8369 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.5825, allocations: 480.8 kB / 0.8374 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.5838, allocations: 1.517 MB / 0.8389 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5839, allocations: 4 kB / 0.8389 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5839, allocations: 3.469 kB / 0.8389 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.5839, allocations: 0 / 0.8389 GB, free: 8.562 MB / 0.5606 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.002244/0.5861, allocations: 1.244 MB / 0.8401 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.5862, allocations: 9.969 kB / 0.8401 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008743/0.5871, allocations: 206.7 kB / 0.8403 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009797/0.5881, allocations: 0.7619 MB / 0.841 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.5881, allocations: 66 kB / 0.8411 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.5883, allocations: 86.41 kB / 0.8412 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.5898, allocations: 0.9773 MB / 0.8421 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.5898, allocations: 3.938 kB / 0.8422 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/0.5899, allocations: 35.62 kB / 0.8422 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.59, allocations: 22.91 kB / 0.8422 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.5917, allocations: 1.161 MB / 0.8433 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/0.5956, allocations: 2.694 MB / 0.846 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.5971, allocations: 0.8557 MB / 0.8468 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005525/0.5977, allocations: 332.3 kB / 0.8471 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/0.5977, allocations: 36.14 kB / 0.8472 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008848/0.5986, allocations: 0.5381 MB / 0.8477 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.385e-06/0.5987, allocations: 0 / 0.8477 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.003131/0.6018, allocations: 1.294 MB / 0.8489 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.05e-05/0.6019, allocations: 199.3 kB / 0.8491 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/0.6026, allocations: 0.6554 MB / 0.8498 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.091e-05/0.6027, allocations: 42.95 kB / 0.8498 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.603, allocations: 405.8 kB / 0.8502 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.6032, allocations: 287.7 kB / 0.8505 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.6033, allocations: 73.31 kB / 0.8506 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6035, allocations: 395.6 kB / 0.8509 GB, free: 208 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/0.604, allocations: 292.2 kB / 0.8512 GB, free: 68 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/0.6047, allocations: 399.8 kB / 0.8516 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.6059, allocations: 0.6643 MB / 0.8522 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6059, allocations: 2.906 kB / 0.8522 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00197/0.6078, allocations: 0.9247 MB / 0.8531 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6079, allocations: 9.688 kB / 0.8532 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.6079, allocations: 1.562 kB / 0.8532 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006072/0.6085, allocations: 87.39 kB / 0.8532 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/0.6092, allocations: 174.4 kB / 0.8534 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.6112, allocations: 1.525 MB / 0.8549 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008072/0.6121, allocations: 117.8 kB / 0.855 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/0.6121, allocations: 40.78 kB / 0.855 GB, free: 13.35 MB / 0.5762 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.0004695/0.6126, allocations: 281.7 kB / 0.8553 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.6128, allocations: 83.88 kB / 0.8554 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.6153, allocations: 1.178 MB / 0.8565 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.6153, allocations: 10.56 kB / 0.8566 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.6154, allocations: 0 / 0.8566 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.6154, allocations: 7.922 kB / 0.8566 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.6164, allocations: 0.9454 MB / 0.8575 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6164, allocations: 0 / 0.8575 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/0.617, allocations: 168 kB / 0.8576 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005436/0.6176, allocations: 85.48 kB / 0.8577 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.6177, allocations: 27.83 kB / 0.8578 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.6195, allocations: 1.545 MB / 0.8593 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6195, allocations: 144 / 0.8593 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.6214, allocations: 1.007 MB / 0.8602 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.6218, allocations: 301.5 kB / 0.8605 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.6219, allocations: 18.25 kB / 0.8605 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.6226, allocations: 85.14 kB / 0.8606 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.6228, allocations: 76.45 kB / 0.8607 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/0.6229, allocations: 40.91 kB / 0.8607 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000541/0.6234, allocations: 476.9 kB / 0.8612 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6234, allocations: 0 / 0.8612 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007738/0.6242, allocations: 332.8 kB / 0.8615 GB, free: 8.836 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001319/0.6255, allocations: 0.5985 MB / 0.8621 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.6272, allocations: 0.8992 MB / 0.863 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6272, allocations: 0 / 0.863 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009067/0.6281, allocations: 0.5486 MB / 0.8635 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.6293, allocations: 274.8 kB / 0.8638 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.6334, allocations: 2.343 MB / 0.8661 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.6339, allocations: 1.036 MB / 0.8671 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008468/0.6348, allocations: 278.9 kB / 0.8673 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.6351, allocations: 119.3 kB / 0.8675 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.6351, allocations: 0 / 0.8675 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of Templates: time 0.02369/0.6588, allocations: 14.77 MB / 0.8819 GB, free: 5.945 MB / 0.5919 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)