Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.001021/0.001021, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.306/2.306, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4673, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005912/0.4732, allocations: 4.925 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1327/0.606, allocations: 150.6 MB / 1.169 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006608/0.6067, allocations: 19.88 kB / 1.169 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.6072, allocations: 194.2 kB / 1.17 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.6086, allocations: 0.5668 MB / 1.17 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.6103, allocations: 0.8449 MB / 1.171 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.6114, allocations: 1.409 MB / 1.172 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007057/0.6121, allocations: 0.592 MB / 1.173 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.6126, allocations: 0.4943 MB / 1.173 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.6131, allocations: 0.5213 MB / 1.174 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.6132, allocations: 123.9 kB / 1.174 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006568/0.6139, allocations: 455.6 kB / 1.174 GB, free: 1.113 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.6142, allocations: 303.1 kB / 1.175 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004659/0.6146, allocations: 0.5752 MB / 1.175 GB, free: 244 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.616, allocations: 1.628 MB / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.616, allocations: 0 / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.092e-06/0.616, allocations: 0 / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.616, allocations: 0 / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002257/0.6183, allocations: 1.467 MB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.6183, allocations: 12.03 kB / 1.178 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.6185, allocations: 135.5 kB / 1.178 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008211/0.6193, allocations: 183.4 kB / 1.179 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009433/0.6203, allocations: 0.7583 MB / 1.179 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.6203, allocations: 62 kB / 1.179 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.49e-05/0.6204, allocations: 84 kB / 1.179 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.6219, allocations: 0.9456 MB / 1.18 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.6219, allocations: 8 kB / 1.18 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.622, allocations: 36 kB / 1.18 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.622, allocations: 24 kB / 1.18 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.6236, allocations: 1.12 MB / 1.182 GB, free: 9.629 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.003577/0.6272, allocations: 2.751 MB / 1.184 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.6286, allocations: 0.9046 MB / 1.185 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.6291, allocations: 310.7 kB / 1.185 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.17e-05/0.6292, allocations: 36.67 kB / 1.185 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008173/0.63, allocations: 0.5159 MB / 1.186 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 3.286e-06/0.6301, allocations: 0 / 1.186 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.002976/0.633, allocations: 1.255 MB / 1.187 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.6332, allocations: 188.9 kB / 1.187 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007152/0.6339, allocations: 0.6449 MB / 1.188 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.6339, allocations: 45.7 kB / 1.188 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.6342, allocations: 400.5 kB / 1.188 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.6344, allocations: 276 kB / 1.189 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.6346, allocations: 154.5 kB / 1.189 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6348, allocations: 386.8 kB / 1.189 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.6352, allocations: 253.9 kB / 1.189 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.6358, allocations: 374.5 kB / 1.19 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.6369, allocations: 0.6047 MB / 1.19 GB, free: 276 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6369, allocations: 0 / 1.19 GB, free: 276 kB / 0.9356 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001772/0.6387, allocations: 0.8292 MB / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6387, allocations: 11.94 kB / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6387, allocations: 0 / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/0.6393, allocations: 80.88 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.6399, allocations: 155.8 kB / 1.191 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.6418, allocations: 1.636 MB / 1.193 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.6424, allocations: 95.45 kB / 1.193 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.6425, allocations: 35.97 kB / 1.193 GB, free: 13.27 MB / 0.9512 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 (91): * Single equations (assignments): 90 * 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.0003146/0.6428, allocations: 265.6 kB / 1.193 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.643, allocations: 82.97 kB / 1.193 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.6453, allocations: 1.144 MB / 1.195 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.6453, allocations: 12 kB / 1.195 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.6453, allocations: 0 / 1.195 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.6453, allocations: 3.984 kB / 1.195 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/0.6483, allocations: 2.02 MB / 1.197 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6483, allocations: 0 / 1.197 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.6489, allocations: 155.8 kB / 1.197 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/0.6493, allocations: 68.8 kB / 1.197 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.6494, allocations: 31.97 kB / 1.197 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.651, allocations: 1.67 MB / 1.198 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.651, allocations: 3.938 kB / 1.198 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.6529, allocations: 1.039 MB / 1.199 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.6532, allocations: 287.6 kB / 1.2 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.6533, allocations: 23.98 kB / 1.2 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006372/0.654, allocations: 67.94 kB / 1.2 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.6541, allocations: 77.02 kB / 1.2 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/0.6542, allocations: 35.98 kB / 1.2 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004916/0.6547, allocations: 467 kB / 1.2 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6547, allocations: 0 / 1.2 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006978/0.6554, allocations: 327.2 kB / 1.201 GB, free: 5.258 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: 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.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 (99): * Single equations (assignments): 92 * 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.003231/0.6586, allocations: 2.101 MB / 1.203 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.6608, allocations: 1.054 MB / 1.204 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6608, allocations: 4 kB / 1.204 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008672/0.6617, allocations: 0.5314 MB / 1.204 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.6628, allocations: 314.4 kB / 1.205 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008915/0.6717, allocations: 6.621 MB / 1.211 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.6723, allocations: 1.032 MB / 1.212 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007275/0.673, allocations: 274.9 kB / 1.212 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/0.6735, allocations: 411.2 kB / 1.213 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.6735, allocations: 0 / 1.213 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.7178, allocations: 22 MB / 1.234 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.19, allocations: 7.766 kB / 1.234 GB, free: 3.27 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)