Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.00532/0.00532, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001321/0.001321, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 278.4 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9398/0.9398, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 91.98 kB / 0.6809 GB, free: 68 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1674, allocations: 86.97 MB / 0.7659 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006406/0.1739, allocations: 4.311 MB / 0.7701 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5461/0.72, allocations: 150.6 MB / 0.9171 GB, free: 8.121 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008649/0.7209, allocations: 15.94 kB / 0.9171 GB, free: 8.105 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007375/0.7217, allocations: 170.4 kB / 0.9173 GB, free: 7.938 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.7239, allocations: 0.5011 MB / 0.9178 GB, free: 7.449 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.7264, allocations: 0.8281 MB / 0.9186 GB, free: 6.652 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.7282, allocations: 1.301 MB / 0.9198 GB, free: 5.344 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.7292, allocations: 0.6295 MB / 0.9205 GB, free: 4.695 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008292/0.7301, allocations: 478.3 kB / 0.9209 GB, free: 4.227 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008018/0.7309, allocations: 0.49 MB / 0.9214 GB, free: 3.734 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003064/0.7312, allocations: 120 kB / 0.9215 GB, free: 3.617 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.7323, allocations: 489.4 kB / 0.922 GB, free: 3.141 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003759/0.7327, allocations: 291.1 kB / 0.9223 GB, free: 2.855 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007389/0.7335, allocations: 0.5456 MB / 0.9228 GB, free: 2.309 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.7359, allocations: 1.611 MB / 0.9244 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7359, allocations: 0 / 0.9244 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.534e-06/0.7359, allocations: 0 / 0.9244 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.36e-05/0.736, allocations: 0 / 0.9244 GB, free: 0.6953 MB / 0.67 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.003238/0.7392, allocations: 1.414 MB / 0.9257 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.7393, allocations: 12.03 kB / 0.9258 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.7395, allocations: 137.1 kB / 0.9259 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009781/0.7405, allocations: 191.4 kB / 0.9261 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.7418, allocations: 0.7541 MB / 0.9268 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/0.7419, allocations: 62 kB / 0.9269 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.742, allocations: 80 kB / 0.9269 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.7437, allocations: 0.9222 MB / 0.9278 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.7437, allocations: 0 / 0.9278 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.784e-05/0.7438, allocations: 39.98 kB / 0.9279 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.7438, allocations: 21.31 kB / 0.9279 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.7456, allocations: 1.104 MB / 0.929 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.7496, allocations: 2.498 MB / 0.9314 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.7511, allocations: 0.8945 MB / 0.9323 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005204/0.7516, allocations: 310.6 kB / 0.9326 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.761e-05/0.7517, allocations: 32.61 kB / 0.9326 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008415/0.7526, allocations: 0.4932 MB / 0.9331 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=79): time 2.654e-06/0.7526, allocations: 0 / 0.9331 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of matching and sorting (n=79): time 0.003019/0.7556, allocations: 1.186 MB / 0.9343 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.7557, allocations: 192.5 kB / 0.9344 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/0.7566, allocations: 0.6214 MB / 0.935 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.26e-05/0.7567, allocations: 49.7 kB / 0.9351 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.757, allocations: 396.3 kB / 0.9355 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.7572, allocations: 252.1 kB / 0.9357 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.7575, allocations: 146.5 kB / 0.9358 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.7576, allocations: 386.7 kB / 0.9362 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.7581, allocations: 249.9 kB / 0.9365 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.7587, allocations: 354.6 kB / 0.9368 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.7597, allocations: 0.5877 MB / 0.9374 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7597, allocations: 0 / 0.9374 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001862/0.7616, allocations: 0.7941 MB / 0.9381 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.7616, allocations: 6.5 kB / 0.9382 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7617, allocations: 4 kB / 0.9382 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/0.7623, allocations: 88.84 kB / 0.9382 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.7629, allocations: 147.7 kB / 0.9384 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.7651, allocations: 1.648 MB / 0.94 GB, free: 152 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/0.7658, allocations: 84.33 kB / 0.9401 GB, free: 68 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/0.7659, allocations: 27.98 kB / 0.9401 GB, free: 40 kB / 0.6856 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.0004588/0.7663, allocations: 277.5 kB / 0.9404 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.7666, allocations: 79.06 kB / 0.9404 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.7689, allocations: 1.064 MB / 0.9415 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.769, allocations: 8 kB / 0.9415 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.769, allocations: 11.88 kB / 0.9415 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.769, allocations: 7.969 kB / 0.9415 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.7722, allocations: 1.947 MB / 0.9434 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7722, allocations: 0 / 0.9434 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.7728, allocations: 139.8 kB / 0.9435 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/0.7732, allocations: 76.78 kB / 0.9436 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.7733, allocations: 27.97 kB / 0.9436 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.7751, allocations: 1.667 MB / 0.9453 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7752, allocations: 4.031 kB / 0.9453 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.7771, allocations: 0.994 MB / 0.9462 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.7776, allocations: 283.7 kB / 0.9465 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.7777, allocations: 20 kB / 0.9465 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/0.7784, allocations: 60.64 kB / 0.9466 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.7786, allocations: 76.89 kB / 0.9467 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.7787, allocations: 31.55 kB / 0.9467 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005929/0.7793, allocations: 455 kB / 0.9471 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7793, allocations: 0 / 0.9471 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008313/0.7801, allocations: 307.2 kB / 0.9474 GB, free: 8.281 MB / 0.7012 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.003388/0.7835, allocations: 2.037 MB / 0.9494 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.7852, allocations: 0.8011 MB / 0.9502 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7852, allocations: 0 / 0.9502 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/0.7861, allocations: 0.5196 MB / 0.9507 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.7873, allocations: 304 kB / 0.951 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.798, allocations: 6.291 MB / 0.9571 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.7986, allocations: 1.012 MB / 0.9581 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008182/0.7995, allocations: 258.6 kB / 0.9584 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.8, allocations: 375.3 kB / 0.9587 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.8, allocations: 0 / 0.9587 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05098/0.851, allocations: 21.55 MB / 0.9798 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.13, allocations: 6.5 kB / 0.9798 GB, free: 7.508 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)