Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.001566/0.001566, allocations: 108 kB / 15.61 MB, free: 152 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.001561/0.001561, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002567/0.002568, allocations: 275 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.043/1.043, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002831/0.002831, allocations: 99.92 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1646, allocations: 89.15 MB / 0.6936 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007311/0.172, allocations: 4.915 MB / 0.6984 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4565/0.6285, allocations: 150.6 MB / 0.8455 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000952/0.6295, allocations: 16.31 kB / 0.8455 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006458/0.6301, allocations: 195.6 kB / 0.8457 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.6323, allocations: 0.5623 MB / 0.8462 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.6345, allocations: 0.8443 MB / 0.8471 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.6362, allocations: 1.42 MB / 0.8485 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008636/0.6371, allocations: 0.587 MB / 0.849 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/0.6377, allocations: 0.4988 MB / 0.8495 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006737/0.6384, allocations: 0.5166 MB / 0.85 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.6386, allocations: 120.5 kB / 0.8501 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008907/0.6395, allocations: 460.4 kB / 0.8506 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003203/0.6398, allocations: 306.9 kB / 0.8509 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005377/0.6404, allocations: 0.5688 MB / 0.8514 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.6423, allocations: 1.618 MB / 0.853 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6423, allocations: 0 / 0.853 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6423, allocations: 2.969 kB / 0.853 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.822e-05/0.6423, allocations: 4 kB / 0.853 GB, free: 2.176 MB / 0.5762 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.002817/0.6451, allocations: 1.467 MB / 0.8544 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.6452, allocations: 10.88 kB / 0.8545 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.6454, allocations: 142.1 kB / 0.8546 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009249/0.6463, allocations: 192.7 kB / 0.8548 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.6474, allocations: 0.751 MB / 0.8555 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/0.6474, allocations: 65.22 kB / 0.8556 GB, free: 172 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.6476, allocations: 83.19 kB / 0.8556 GB, free: 144 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.6491, allocations: 0.94 MB / 0.8566 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.6491, allocations: 2.219 kB / 0.8566 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.611e-05/0.6492, allocations: 35.75 kB / 0.8566 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.6493, allocations: 22.72 kB / 0.8566 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.651, allocations: 1.125 MB / 0.8577 GB, free: 14.96 MB / 0.5919 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.004103/0.6551, allocations: 2.764 MB / 0.8604 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.6568, allocations: 0.9062 MB / 0.8613 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.6573, allocations: 317.9 kB / 0.8616 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-05/0.6574, allocations: 31.55 kB / 0.8616 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009588/0.6584, allocations: 0.5232 MB / 0.8621 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.405e-06/0.6584, allocations: 0 / 0.8621 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003362/0.6618, allocations: 1.251 MB / 0.8634 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.6619, allocations: 191 kB / 0.8636 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.6627, allocations: 0.6349 MB / 0.8642 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.301e-05/0.6628, allocations: 46.59 kB / 0.8642 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.6632, allocations: 398.3 kB / 0.8646 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.6634, allocations: 268.9 kB / 0.8649 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.6637, allocations: 149.3 kB / 0.865 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002246/0.6639, allocations: 399.2 kB / 0.8654 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.6644, allocations: 258.2 kB / 0.8656 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.6651, allocations: 359.8 kB / 0.866 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.6662, allocations: 0.6091 MB / 0.8666 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6663, allocations: 0 / 0.8666 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001947/0.6682, allocations: 0.8306 MB / 0.8674 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6682, allocations: 4.875 kB / 0.8674 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6683, allocations: 4.094 kB / 0.8674 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006117/0.6689, allocations: 77.97 kB / 0.8675 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.6695, allocations: 163.5 kB / 0.8676 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.672, allocations: 1.643 MB / 0.8692 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007687/0.6727, allocations: 93.42 kB / 0.8693 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.6728, allocations: 31.44 kB / 0.8693 GB, free: 6.492 MB / 0.5919 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.0004884/0.6733, allocations: 274.6 kB / 0.8696 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.6735, allocations: 86.38 kB / 0.8697 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00263/0.6761, allocations: 1.135 MB / 0.8708 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.6762, allocations: 15.94 kB / 0.8708 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.6762, allocations: 0 / 0.8708 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.6762, allocations: 3.984 kB / 0.8708 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/0.6799, allocations: 2.027 MB / 0.8728 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.68, allocations: 0 / 0.8728 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/0.6806, allocations: 155.8 kB / 0.8729 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/0.6811, allocations: 72.73 kB / 0.873 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-05/0.6812, allocations: 27.97 kB / 0.873 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.6835, allocations: 1.666 MB / 0.8747 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6835, allocations: 0 / 0.8747 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.6859, allocations: 1.043 MB / 0.8757 GB, free: 216 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/0.6864, allocations: 283.7 kB / 0.8759 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.6866, allocations: 19.98 kB / 0.876 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007155/0.6873, allocations: 63.92 kB / 0.876 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.6875, allocations: 84.89 kB / 0.8761 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.897e-05/0.6876, allocations: 35.98 kB / 0.8761 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006993/0.6883, allocations: 467 kB / 0.8766 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6883, allocations: 0 / 0.8766 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009772/0.6893, allocations: 323.3 kB / 0.8769 GB, free: 14.95 MB / 0.6075 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.004626/0.6939, allocations: 2.113 MB / 0.879 GB, free: 13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00287/0.6968, allocations: 1.047 MB / 0.88 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6968, allocations: 4.125 kB / 0.88 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.6979, allocations: 0.547 MB / 0.8805 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.6993, allocations: 311.5 kB / 0.8808 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.7111, allocations: 6.603 MB / 0.8873 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.7119, allocations: 1.036 MB / 0.8883 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009278/0.7128, allocations: 263 kB / 0.8885 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/0.7135, allocations: 411.3 kB / 0.8889 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.7135, allocations: 0 / 0.8889 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5121/1.226, allocations: 22.04 MB / 0.9104 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.86, allocations: 7.641 kB / 0.9104 GB, free: 12.98 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)