Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001178/0.001178, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001121/0.00112, allocations: 191.3 kB / 16.14 MB, free: 6.711 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.167/1.167, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.015/2.015, allocations: 390.3 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4557, allocations: 140.4 MB / 0.949 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004055/0.4598, allocations: 4.327 MB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1238/0.5835, allocations: 148.2 MB / 1.098 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006085/0.5842, allocations: 19.88 kB / 1.098 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.5847, allocations: 138.9 kB / 1.098 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.5861, allocations: 427.4 kB / 1.099 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.5877, allocations: 0.7189 MB / 1.099 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.5888, allocations: 1.215 MB / 1.1 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007233/0.5895, allocations: 0.598 MB / 1.101 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00049/0.59, allocations: 414.3 kB / 1.101 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.5905, allocations: 469.8 kB / 1.102 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.5906, allocations: 56 kB / 1.102 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000653/0.5913, allocations: 403.6 kB / 1.102 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.5915, allocations: 231.1 kB / 1.103 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.5919, allocations: 497.1 kB / 1.103 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.5931, allocations: 1.523 MB / 1.105 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5932, allocations: 0 / 1.105 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.866e-06/0.5932, allocations: 4 kB / 1.105 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.26e-05/0.5932, allocations: 4 kB / 1.105 GB, free: 2.277 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002252/0.5954, allocations: 1.399 MB / 1.106 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.5955, allocations: 12.03 kB / 1.106 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.5956, allocations: 139.4 kB / 1.106 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008209/0.5965, allocations: 187.4 kB / 1.106 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008579/0.5973, allocations: 0.7421 MB / 1.107 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.5974, allocations: 62 kB / 1.107 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.004e-05/0.5975, allocations: 80 kB / 1.107 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.5988, allocations: 0.9223 MB / 1.108 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.5988, allocations: 0 / 1.108 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.5989, allocations: 36 kB / 1.108 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.5989, allocations: 20 kB / 1.108 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.6005, allocations: 1.12 MB / 1.109 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/0.6037, allocations: 2.519 MB / 1.112 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.605, allocations: 0.887 MB / 1.112 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.6055, allocations: 310.6 kB / 1.113 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.6056, allocations: 40.59 kB / 1.113 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007645/0.6064, allocations: 487.2 kB / 1.113 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 1.703e-06/0.6064, allocations: 0 / 1.113 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.002748/0.6091, allocations: 1.194 MB / 1.114 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.6092, allocations: 192.6 kB / 1.115 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/0.6099, allocations: 0.6254 MB / 1.115 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.6099, allocations: 37.7 kB / 1.115 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.6102, allocations: 396.4 kB / 1.116 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.6103, allocations: 256.3 kB / 1.116 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.6105, allocations: 142.5 kB / 1.116 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6107, allocations: 390.7 kB / 1.116 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.6111, allocations: 245.9 kB / 1.117 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.6116, allocations: 362.5 kB / 1.117 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009421/0.6126, allocations: 0.5838 MB / 1.118 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6126, allocations: 0 / 1.118 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001635/0.6142, allocations: 0.7941 MB / 1.118 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.6143, allocations: 8 kB / 1.118 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6143, allocations: 0 / 1.118 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/0.6148, allocations: 88.75 kB / 1.118 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.6154, allocations: 151.8 kB / 1.119 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.6171, allocations: 1.533 MB / 1.12 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.6177, allocations: 91.34 kB / 1.12 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.6177, allocations: 27.98 kB / 1.12 GB, free: 1.707 MB / 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: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003/0.618, allocations: 265.6 kB / 1.12 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.6182, allocations: 87.25 kB / 1.12 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.6203, allocations: 1.061 MB / 1.122 GB, free: 284 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.6203, allocations: 12 kB / 1.122 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.6203, allocations: 0 / 1.122 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.6203, allocations: 3.984 kB / 1.122 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.623, allocations: 1.961 MB / 1.123 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.623, allocations: 0 / 1.123 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.6235, allocations: 143.8 kB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.624, allocations: 84.77 kB / 1.124 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.6241, allocations: 23.98 kB / 1.124 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.6256, allocations: 1.563 MB / 1.125 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6256, allocations: 0 / 1.125 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.6274, allocations: 0.9922 MB / 1.126 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.6276, allocations: 279.7 kB / 1.126 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6278, allocations: 23.94 kB / 1.126 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.6284, allocations: 63.92 kB / 1.127 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6285, allocations: 64.91 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.6286, allocations: 39.97 kB / 1.127 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000452/0.629, allocations: 451 kB / 1.127 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.629, allocations: 0 / 1.127 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006518/0.6297, allocations: 303.2 kB / 1.127 GB, free: 10.07 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003015/0.6327, allocations: 2.046 MB / 1.129 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.6341, allocations: 0.7922 MB / 1.13 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6341, allocations: 4.125 kB / 1.13 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007886/0.6349, allocations: 0.5159 MB / 1.131 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.6358, allocations: 263.8 kB / 1.131 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.6463, allocations: 6.885 MB / 1.138 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.6468, allocations: 1.019 MB / 1.139 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000687/0.6475, allocations: 254.5 kB / 1.139 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/0.6479, allocations: 375.3 kB / 1.139 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.6479, allocations: 3.938 kB / 1.139 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5602/1.208, allocations: 20.13 MB / 1.159 GB, free: 10.13 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/1.208, allocations: 294.6 kB / 1.159 GB, free: 9.75 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/4.05, allocations: 0 / 1.159 GB, free: 9.75 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)