Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 289.9 MB / 297.4 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 180.8 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 87.77 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.063e-05, allocations: 0 / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7791/0.7791, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.548/6.328, allocations: 2.074 GB / 3.047 GB, free: 10.45 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/6.328, allocations: 85.38 kB / 3.047 GB, free: 10.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9043/7.232, allocations: 91.63 MB / 3.136 GB, free: 312.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.305e-06/7.232, allocations: 0 / 3.136 GB, free: 312.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.329e-05/7.232, allocations: 32 kB / 3.137 GB, free: 312.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002283/7.235, allocations: 1.371 MB / 3.138 GB, free: 311.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/7.235, allocations: 13.81 kB / 3.138 GB, free: 311.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009281/7.236, allocations: 245.8 kB / 3.138 GB, free: 311 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/7.237, allocations: 0.7677 MB / 3.139 GB, free: 310.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/7.237, allocations: 44 kB / 3.139 GB, free: 310.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/7.237, allocations: 80 kB / 3.139 GB, free: 310 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001771/7.239, allocations: 1.34 MB / 3.14 GB, free: 308.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/7.24, allocations: 1.136 MB / 3.141 GB, free: 307.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/7.24, allocations: 3.938 kB / 3.141 GB, free: 307.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.654e-05/7.241, allocations: 4 kB / 3.141 GB, free: 307.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/7.241, allocations: 35.95 kB / 3.141 GB, free: 307.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004799/7.245, allocations: 3.362 MB / 3.145 GB, free: 304 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/7.246, allocations: 0.8559 MB / 3.146 GB, free: 303.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/7.247, allocations: 352.7 kB / 3.146 GB, free: 302.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.48e-05/7.247, allocations: 42.98 kB / 3.146 GB, free: 302.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007087/7.248, allocations: 0.5304 MB / 3.146 GB, free: 302.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=104): time 3.256e-06/7.248, allocations: 0 / 3.146 GB, free: 302.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=104): time 0.001833/7.25, allocations: 0.9106 MB / 3.147 GB, free: 301.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/7.25, allocations: 249.7 kB / 3.148 GB, free: 301 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000695/7.25, allocations: 0.6015 MB / 3.148 GB, free: 300.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.592e-05/7.25, allocations: 29.7 kB / 3.148 GB, free: 300.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/7.251, allocations: 0.558 MB / 3.149 GB, free: 299.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/7.251, allocations: 331 kB / 3.149 GB, free: 299.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/7.251, allocations: 0 / 3.149 GB, free: 299.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000115/7.251, allocations: 402.7 kB / 3.149 GB, free: 299.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/7.252, allocations: 294.6 kB / 3.15 GB, free: 298.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/7.252, allocations: 426 kB / 3.15 GB, free: 298.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/7.253, allocations: 366.3 kB / 3.15 GB, free: 298 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/7.253, allocations: 0 / 3.15 GB, free: 298 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001728/7.254, allocations: 0.9576 MB / 3.151 GB, free: 297 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/7.254, allocations: 9.5 kB / 3.151 GB, free: 297 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/7.254, allocations: 0 / 3.151 GB, free: 297 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005668/7.255, allocations: 84.84 kB / 3.151 GB, free: 296.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008782/7.256, allocations: 215.7 kB / 3.152 GB, free: 296.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/7.257, allocations: 1.461 MB / 3.153 GB, free: 295.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008233/7.258, allocations: 87.11 kB / 3.153 GB, free: 295 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/7.258, allocations: 51.95 kB / 3.153 GB, free: 295 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002082/7.259, allocations: 118.2 kB / 3.153 GB, free: 294.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001645/7.26, allocations: 0.9106 MB / 3.154 GB, free: 293.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/7.26, allocations: 98.83 kB / 3.154 GB, free: 293.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/7.263, allocations: 1.291 MB / 3.156 GB, free: 292.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/7.263, allocations: 12 kB / 3.156 GB, free: 292.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/7.263, allocations: 0 / 3.156 GB, free: 292.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/7.263, allocations: 3.984 kB / 3.156 GB, free: 292.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/7.266, allocations: 2.331 MB / 3.158 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/7.266, allocations: 0 / 3.158 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/7.267, allocations: 201.1 kB / 3.158 GB, free: 290 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/7.267, allocations: 88.77 kB / 3.158 GB, free: 289.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.91e-05/7.268, allocations: 15.98 kB / 3.158 GB, free: 289.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/7.269, allocations: 1.484 MB / 3.16 GB, free: 288.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/7.269, allocations: 4.031 kB / 3.16 GB, free: 288.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/7.271, allocations: 1.063 MB / 3.161 GB, free: 287.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/7.271, allocations: 355.2 kB / 3.161 GB, free: 286.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/7.271, allocations: 4 kB / 3.161 GB, free: 286.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/7.272, allocations: 55.94 kB / 3.161 GB, free: 286.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/7.272, allocations: 73.2 kB / 3.161 GB, free: 286.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/7.272, allocations: 48.05 kB / 3.161 GB, free: 286.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005942/7.273, allocations: 0.5069 MB / 3.162 GB, free: 286.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.273, allocations: 0 / 3.162 GB, free: 286.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00125/7.274, allocations: 414.4 kB / 3.162 GB, free: 285.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003465/7.277, allocations: 2.543 MB / 3.165 GB, free: 283.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001465/7.279, allocations: 0.9174 MB / 3.165 GB, free: 282.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/7.279, allocations: 8.125 kB / 3.165 GB, free: 282.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007231/7.28, allocations: 0.5494 MB / 3.166 GB, free: 281.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/7.281, allocations: 244.4 kB / 3.166 GB, free: 281.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/7.286, allocations: 1.987 MB / 3.168 GB, free: 279.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007539/7.287, allocations: 1.195 MB / 3.169 GB, free: 278.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001118/7.288, allocations: 283.8 kB / 3.17 GB, free: 278 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/7.289, allocations: 0.5344 MB / 3.17 GB, free: 277.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/7.289, allocations: 0 / 3.17 GB, free: 277.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/7.346, allocations: 28.59 MB / 3.198 GB, free: 249 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/7.346, allocations: 186.8 kB / 3.198 GB, free: 248.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/10.18, allocations: 4 kB / 3.198 GB, free: 248.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)