Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008817/0.0008817, allocations: 91.45 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.005157/0.005157, allocations: 173.9 kB / 16.27 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.196/1.196, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.058/2.058, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002873, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5021, allocations: 142.4 MB / 0.9552 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.003481/0.5056, allocations: 4.064 MB / 0.9591 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1349/0.6406, allocations: 146.8 MB / 1.103 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/0.641, allocations: 19.88 kB / 1.103 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.6414, allocations: 142.9 kB / 1.103 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.6425, allocations: 454.9 kB / 1.103 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.6439, allocations: 0.7339 MB / 1.104 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009809/0.6449, allocations: 1.277 MB / 1.105 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006891/0.6456, allocations: 0.5959 MB / 1.106 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.646, allocations: 370.2 kB / 1.106 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.6464, allocations: 409.8 kB / 1.106 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/0.6465, allocations: 31.94 kB / 1.106 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.647, allocations: 371.7 kB / 1.107 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.6472, allocations: 199 kB / 1.107 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.6475, allocations: 478.7 kB / 1.107 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.6487, allocations: 1.514 MB / 1.109 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.6487, allocations: 7.938 kB / 1.109 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6487, allocations: 0 / 1.109 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.6487, allocations: 4 kB / 1.109 GB, free: 1.285 MB / 0.8575 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.002012/0.6507, allocations: 1.238 MB / 1.11 GB, free: 0 / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.6508, allocations: 12.08 kB / 1.11 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.651, allocations: 143.7 kB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.6518, allocations: 203.3 kB / 1.11 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000878/0.6527, allocations: 0.766 MB / 1.111 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.6527, allocations: 66 kB / 1.111 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.6528, allocations: 91.88 kB / 1.111 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.6543, allocations: 0.9691 MB / 1.112 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.6543, allocations: 0 / 1.112 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.6544, allocations: 36 kB / 1.112 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.6544, allocations: 27.94 kB / 1.112 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.6561, allocations: 1.167 MB / 1.114 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.6597, allocations: 2.701 MB / 1.116 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.6611, allocations: 0.855 MB / 1.117 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.6616, allocations: 322.7 kB / 1.117 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.898e-05/0.6617, allocations: 32.67 kB / 1.117 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008182/0.6625, allocations: 0.547 MB / 1.118 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 1.954e-06/0.6625, allocations: 0 / 1.118 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.002908/0.6654, allocations: 1.302 MB / 1.119 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.6655, allocations: 192.9 kB / 1.119 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.6662, allocations: 0.6451 MB / 1.12 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.6663, allocations: 49.69 kB / 1.12 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.6666, allocations: 408.3 kB / 1.12 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.6668, allocations: 283.9 kB / 1.121 GB, free: 4.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/0.6668, allocations: 65.69 kB / 1.121 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.667, allocations: 382.8 kB / 1.121 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.6675, allocations: 281.8 kB / 1.121 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/0.6681, allocations: 390.5 kB / 1.122 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.6691, allocations: 0.6437 MB / 1.122 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6691, allocations: 0 / 1.122 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001755/0.6709, allocations: 0.8837 MB / 1.123 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.6709, allocations: 8 kB / 1.123 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6709, allocations: 64 / 1.123 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.6715, allocations: 88.83 kB / 1.123 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.6722, allocations: 171.7 kB / 1.123 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.6739, allocations: 1.516 MB / 1.125 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.6745, allocations: 103.4 kB / 1.125 GB, free: 220 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.6746, allocations: 39.97 kB / 1.125 GB, free: 180 kB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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 (97): * Single equations (assignments): 96 * 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.0003307/0.6749, allocations: 265.5 kB / 1.125 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.6751, allocations: 98.8 kB / 1.125 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.6774, allocations: 1.175 MB / 1.127 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.6774, allocations: 12 kB / 1.127 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6774, allocations: 3.938 kB / 1.127 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.6774, allocations: 3.984 kB / 1.127 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008868/0.6783, allocations: 0.9384 MB / 1.128 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6783, allocations: 0 / 1.128 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.6789, allocations: 167.7 kB / 1.128 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.6794, allocations: 84.77 kB / 1.128 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.6795, allocations: 23.98 kB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.6811, allocations: 1.551 MB / 1.129 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6811, allocations: 0 / 1.129 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.6829, allocations: 1.006 MB / 1.13 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.6832, allocations: 307.5 kB / 1.131 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.6833, allocations: 16 kB / 1.131 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/0.684, allocations: 85.89 kB / 1.131 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.6841, allocations: 84.88 kB / 1.131 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.6842, allocations: 35.98 kB / 1.131 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004922/0.6847, allocations: 479 kB / 1.131 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6847, allocations: 4 kB / 1.131 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006524/0.6854, allocations: 319.3 kB / 1.132 GB, free: 9.305 MB / 0.8887 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.003134/0.6885, allocations: 2.069 MB / 1.134 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.69, allocations: 0.8664 MB / 1.134 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.69, allocations: 4.188 kB / 1.134 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008609/0.6909, allocations: 0.5471 MB / 1.135 GB, free: 5.945 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6919, allocations: 267.2 kB / 1.135 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.7032, allocations: 7.344 MB / 1.142 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.7037, allocations: 1.04 MB / 1.143 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007299/0.7044, allocations: 279 kB / 1.144 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/0.7049, allocations: 411.3 kB / 1.144 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.705, allocations: 0 / 1.144 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.169/0.874, allocations: 20.93 MB / 1.165 GB, free: 7.906 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.8742, allocations: 320.1 kB / 1.165 GB, free: 7.52 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/3.103, allocations: 0 / 1.165 GB, free: 7.52 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)