Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007509/0.0007509, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00493/0.00493, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001799/0.001799, allocations: 267.1 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9394/0.9394, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004024, allocations: 15.16 kB / 0.5986 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00527/0.1431, allocations: 4.881 MB / 0.6899 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4415/0.5846, allocations: 147.1 MB / 0.8335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.5857, allocations: 29.03 kB / 0.8335 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006895/0.5864, allocations: 149.3 kB / 0.8337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.5889, allocations: 0.5312 MB / 0.8342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.5922, allocations: 0.8877 MB / 0.835 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002459/0.5946, allocations: 1.667 MB / 0.8367 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.5966, allocations: 1.098 MB / 0.8377 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009327/0.5976, allocations: 0.4977 MB / 0.8382 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008976/0.5985, allocations: 0.5706 MB / 0.8388 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.5986, allocations: 35 kB / 0.8388 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.5998, allocations: 377.5 kB / 0.8392 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.6002, allocations: 269.7 kB / 0.8394 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007249/0.6009, allocations: 0.6889 MB / 0.8401 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.6029, allocations: 2.329 MB / 0.8424 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6029, allocations: 0 / 0.8424 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6029, allocations: 5.781 kB / 0.8424 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.603, allocations: 0 / 0.8424 GB, free: 5.84 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003137/0.6061, allocations: 1.646 MB / 0.844 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.6062, allocations: 11.25 kB / 0.844 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009867/0.6071, allocations: 267.9 kB / 0.8443 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.6084, allocations: 0.9725 MB / 0.8452 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.6086, allocations: 151.2 kB / 0.8454 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.6087, allocations: 153.8 kB / 0.8455 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/0.6113, allocations: 1.602 MB / 0.8471 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.6113, allocations: 0 / 0.8471 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.6114, allocations: 64.91 kB / 0.8471 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.6115, allocations: 37.56 kB / 0.8472 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.6139, allocations: 1.603 MB / 0.8487 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006094/0.62, allocations: 4.286 MB / 0.8529 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.6218, allocations: 1.098 MB / 0.854 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.6225, allocations: 435.2 kB / 0.8544 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.183e-05/0.6226, allocations: 42.2 kB / 0.8544 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.6237, allocations: 0.7036 MB / 0.8551 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 2.895e-06/0.6238, allocations: 0 / 0.8551 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.003736/0.6275, allocations: 1.679 MB / 0.8568 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.6276, allocations: 191.4 kB / 0.857 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.6286, allocations: 0.8445 MB / 0.8578 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-05/0.6287, allocations: 47.17 kB / 0.8578 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.6292, allocations: 0.6229 MB / 0.8584 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.6294, allocations: 351.3 kB / 0.8588 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.6296, allocations: 90.25 kB / 0.8589 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6297, allocations: 346.7 kB / 0.8592 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/0.6304, allocations: 400.5 kB / 0.8596 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.6313, allocations: 0.5205 MB / 0.8601 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.6328, allocations: 0.8918 MB / 0.8609 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6328, allocations: 0 / 0.8609 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002433/0.6352, allocations: 1.208 MB / 0.8621 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.6353, allocations: 12.19 kB / 0.8621 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.6353, allocations: 0 / 0.8621 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/0.6359, allocations: 90.08 kB / 0.8622 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/0.6369, allocations: 233.7 kB / 0.8624 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.6389, allocations: 1.543 MB / 0.864 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009733/0.6399, allocations: 148.4 kB / 0.8641 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/0.64, allocations: 49.67 kB / 0.8641 GB, free: 7.031 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0006094/0.6406, allocations: 358.1 kB / 0.8645 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.6408, allocations: 110.9 kB / 0.8646 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/0.644, allocations: 1.552 MB / 0.8661 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.644, allocations: 10.88 kB / 0.8661 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.644, allocations: 2.938 kB / 0.8661 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.644, allocations: 3.984 kB / 0.8661 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.6455, allocations: 1.371 MB / 0.8675 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.6456, allocations: 3.984 kB / 0.8675 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008122/0.6464, allocations: 195.7 kB / 0.8677 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005414/0.6469, allocations: 96.69 kB / 0.8677 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.647, allocations: 35.97 kB / 0.8678 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.6488, allocations: 1.552 MB / 0.8693 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6488, allocations: 4 kB / 0.8693 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.6513, allocations: 1.293 MB / 0.8706 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/0.6518, allocations: 387 kB / 0.8709 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.652, allocations: 28 kB / 0.871 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009134/0.6529, allocations: 103.9 kB / 0.8711 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.6531, allocations: 97.11 kB / 0.8711 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.664e-05/0.6532, allocations: 55.95 kB / 0.8712 GB, free: 412 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007922/0.654, allocations: 0.6135 MB / 0.8718 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.654, allocations: 0 / 0.8718 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001039/0.655, allocations: 454.4 kB / 0.8722 GB, free: 15.33 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00138/0.6564, allocations: 0.6173 MB / 0.8728 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002175/0.6586, allocations: 1.15 MB / 0.874 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6586, allocations: 7.938 kB / 0.874 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.6598, allocations: 0.6895 MB / 0.8746 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.6611, allocations: 293.8 kB / 0.8749 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/0.6666, allocations: 3.351 MB / 0.8782 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/0.6673, allocations: 1.22 MB / 0.8794 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00107/0.6684, allocations: 317 kB / 0.8797 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.6688, allocations: 147.3 kB / 0.8798 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of SimCode: time 1.924e-06/0.6688, allocations: 0 / 0.8798 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of Templates: time 0.03031/0.6991, allocations: 18.49 MB / 0.8979 GB, free: 5.379 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)