Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_10_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.001404/0.001404, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001516/0.001516, allocations: 191.8 kB / 16.13 MB, free: 6.699 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: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.276/2.276, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 55.91 kB / 0.8686 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4712, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005266/0.4765, allocations: 4.842 MB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1274/0.604, allocations: 148.3 MB / 1.166 GB, free: 9.074 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006973/0.6047, allocations: 19.88 kB / 1.166 GB, free: 9.055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000585/0.6053, allocations: 150.9 kB / 1.166 GB, free: 8.906 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.6068, allocations: 470.9 kB / 1.167 GB, free: 8.445 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.6084, allocations: 0.7221 MB / 1.168 GB, free: 7.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.6096, allocations: 1.284 MB / 1.169 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007421/0.6103, allocations: 0.5749 MB / 1.169 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.6109, allocations: 418.3 kB / 1.17 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.6114, allocations: 473.8 kB / 1.17 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.6115, allocations: 56 kB / 1.17 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006888/0.6122, allocations: 407.6 kB / 1.171 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.6124, allocations: 231.1 kB / 1.171 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.6129, allocations: 0.5011 MB / 1.171 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.6143, allocations: 1.55 MB / 1.173 GB, free: 2.234 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6143, allocations: 4 kB / 1.173 GB, free: 2.23 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6143, allocations: 0 / 1.173 GB, free: 2.23 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.616e-05/0.6143, allocations: 0 / 1.173 GB, free: 2.23 MB / 0.92 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.002396/0.6167, allocations: 1.418 MB / 1.174 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.6168, allocations: 8.031 kB / 1.174 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.6169, allocations: 143.4 kB / 1.174 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.6178, allocations: 179.4 kB / 1.175 GB, free: 432 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/0.6187, allocations: 0.7419 MB / 1.175 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.6188, allocations: 66 kB / 1.175 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.855e-05/0.6189, allocations: 83.98 kB / 1.175 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.6203, allocations: 0.9222 MB / 1.176 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.6203, allocations: 0 / 1.176 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/0.6204, allocations: 36 kB / 1.176 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.6204, allocations: 20 kB / 1.176 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.622, allocations: 1.112 MB / 1.178 GB, free: 13.36 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.6256, allocations: 2.736 MB / 1.18 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.627, allocations: 0.8922 MB / 1.181 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.6275, allocations: 302.7 kB / 1.181 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.51e-05/0.6276, allocations: 28.61 kB / 1.181 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008171/0.6284, allocations: 0.4951 MB / 1.182 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 1.824e-06/0.6284, allocations: 0 / 1.182 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.002862/0.6313, allocations: 1.186 MB / 1.183 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.6314, allocations: 192.6 kB / 1.183 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/0.632, allocations: 0.6253 MB / 1.184 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/0.6321, allocations: 41.7 kB / 1.184 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.6323, allocations: 400.2 kB / 1.184 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.6325, allocations: 260.3 kB / 1.184 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.6327, allocations: 142.6 kB / 1.185 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6329, allocations: 390.7 kB / 1.185 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.6333, allocations: 245.9 kB / 1.185 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.6339, allocations: 354.6 kB / 1.186 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009834/0.6349, allocations: 0.5838 MB / 1.186 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6349, allocations: 0 / 1.186 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001723/0.6366, allocations: 0.798 MB / 1.187 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6366, allocations: 4 kB / 1.187 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6367, allocations: 4 kB / 1.187 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.6372, allocations: 84.81 kB / 1.187 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.6378, allocations: 147.8 kB / 1.187 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.6397, allocations: 1.528 MB / 1.189 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.6403, allocations: 94.25 kB / 1.189 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.6403, allocations: 39.95 kB / 1.189 GB, free: 1.387 MB / 0.9356 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.0003113/0.6407, allocations: 262.2 kB / 1.189 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.6408, allocations: 86.91 kB / 1.189 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.643, allocations: 1.062 MB / 1.19 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6431, allocations: 8 kB / 1.19 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.6431, allocations: 0 / 1.19 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6431, allocations: 7.984 kB / 1.19 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.6459, allocations: 1.97 MB / 1.192 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6459, allocations: 4 kB / 1.192 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005287/0.6465, allocations: 147.8 kB / 1.192 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005034/0.647, allocations: 92.75 kB / 1.192 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.6471, allocations: 23.98 kB / 1.192 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.6487, allocations: 1.548 MB / 1.194 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6487, allocations: 0 / 1.194 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.6505, allocations: 0.996 MB / 1.195 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.6508, allocations: 275.7 kB / 1.195 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.6509, allocations: 27.94 kB / 1.195 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/0.6516, allocations: 59.88 kB / 1.195 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.6517, allocations: 72.89 kB / 1.195 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.6518, allocations: 39.91 kB / 1.195 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004821/0.6523, allocations: 459 kB / 1.196 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6523, allocations: 0 / 1.196 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006752/0.653, allocations: 311.2 kB / 1.196 GB, free: 9.703 MB / 0.9512 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.00316/0.6561, allocations: 2.029 MB / 1.198 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.6575, allocations: 0.7961 MB / 1.199 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6575, allocations: 0 / 1.199 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008181/0.6584, allocations: 0.5199 MB / 1.199 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.6594, allocations: 288.4 kB / 1.2 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.6695, allocations: 6.789 MB / 1.206 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.67, allocations: 1.015 MB / 1.207 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007283/0.6708, allocations: 262.7 kB / 1.207 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.6713, allocations: 367.3 kB / 1.208 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.6713, allocations: 3.938 kB / 1.208 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.577/6.248, allocations: 20.56 MB / 1.228 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/6.249, allocations: 297.4 kB / 1.228 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/8.631, allocations: 11.62 kB / 1.228 GB, free: 9.055 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)