Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.001142/0.001142, allocations: 105.6 kB / 15.98 MB, free: 6.352 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.001151/0.001151, allocations: 189.2 kB / 16.9 MB, free: 6.195 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.203/1.203, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6776/0.6776, allocations: 115.3 MB / 406.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 59.91 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3339, allocations: 76.18 MB / 0.556 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005035/0.339, allocations: 4.809 MB / 0.5607 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1527/0.4918, allocations: 148.4 MB / 0.7056 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.4929, allocations: 15.88 kB / 0.7056 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.4936, allocations: 146.9 kB / 0.7058 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.4956, allocations: 487.2 kB / 0.7062 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.4975, allocations: 0.7563 MB / 0.707 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.4987, allocations: 1.374 MB / 0.7083 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008038/0.4995, allocations: 0.5908 MB / 0.7089 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004886/0.5, allocations: 482.3 kB / 0.7093 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.5005, allocations: 0.5095 MB / 0.7098 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.5007, allocations: 116 kB / 0.71 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/0.5014, allocations: 463.6 kB / 0.7104 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.5016, allocations: 303 kB / 0.7107 GB, free: 5.711 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.5021, allocations: 0.552 MB / 0.7112 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.5035, allocations: 1.612 MB / 0.7128 GB, free: 3.539 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5035, allocations: 0 / 0.7128 GB, free: 3.539 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5036, allocations: 4 kB / 0.7128 GB, free: 3.535 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.5036, allocations: 0 / 0.7128 GB, free: 3.535 MB / 0.545 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.002327/0.5059, allocations: 1.418 MB / 0.7142 GB, free: 2.066 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.5059, allocations: 8.031 kB / 0.7142 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.5061, allocations: 135.4 kB / 0.7143 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008747/0.507, allocations: 187.4 kB / 0.7145 GB, free: 1.734 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009315/0.5079, allocations: 0.742 MB / 0.7152 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.508, allocations: 62 kB / 0.7153 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.751e-05/0.5081, allocations: 80 kB / 0.7154 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.5096, allocations: 0.9222 MB / 0.7163 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.5096, allocations: 4 kB / 0.7163 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/0.5097, allocations: 36 kB / 0.7163 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.5097, allocations: 20 kB / 0.7163 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.5114, allocations: 1.112 MB / 0.7174 GB, free: 14.68 MB / 0.5606 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.003665/0.5151, allocations: 2.733 MB / 0.7201 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.5166, allocations: 0.8988 MB / 0.721 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.5171, allocations: 302.7 kB / 0.7212 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-05/0.5172, allocations: 28.61 kB / 0.7213 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008565/0.5181, allocations: 0.4913 MB / 0.7217 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.164e-06/0.5181, allocations: 3.938 kB / 0.7218 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.002921/0.521, allocations: 1.186 MB / 0.7229 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.5211, allocations: 188.6 kB / 0.7231 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007207/0.5219, allocations: 0.6292 MB / 0.7237 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.5219, allocations: 49.64 kB / 0.7238 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.5222, allocations: 388.4 kB / 0.7241 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.5224, allocations: 260.3 kB / 0.7244 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.5226, allocations: 146.5 kB / 0.7245 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5228, allocations: 386.7 kB / 0.7249 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.5233, allocations: 249.9 kB / 0.7251 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.5239, allocations: 350.6 kB / 0.7255 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009998/0.5249, allocations: 0.5838 MB / 0.726 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5249, allocations: 0 / 0.726 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001756/0.5267, allocations: 0.8019 MB / 0.7268 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5267, allocations: 4 kB / 0.7268 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5267, allocations: 4 kB / 0.7268 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.5273, allocations: 88.8 kB / 0.7269 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.5279, allocations: 143.8 kB / 0.727 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.5299, allocations: 1.648 MB / 0.7286 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.5305, allocations: 84.03 kB / 0.7287 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.5306, allocations: 32.05 kB / 0.7288 GB, free: 2.578 MB / 0.5606 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.0003606/0.5309, allocations: 274.3 kB / 0.729 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.5311, allocations: 83.06 kB / 0.7291 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.5334, allocations: 1.058 MB / 0.7301 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.5334, allocations: 19.86 kB / 0.7301 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.5334, allocations: 0 / 0.7301 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.5334, allocations: 7.969 kB / 0.7302 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.5365, allocations: 1.964 MB / 0.7321 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.5365, allocations: 7.922 kB / 0.7321 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005287/0.537, allocations: 139.8 kB / 0.7322 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.5374, allocations: 76.78 kB / 0.7323 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.5375, allocations: 27.97 kB / 0.7323 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.5393, allocations: 1.67 MB / 0.7339 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5394, allocations: 0 / 0.7339 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.5414, allocations: 0.9921 MB / 0.7349 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.5417, allocations: 279.7 kB / 0.7352 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.5418, allocations: 16 kB / 0.7352 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006317/0.5425, allocations: 66.41 kB / 0.7353 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.5427, allocations: 72.89 kB / 0.7353 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/0.5427, allocations: 31.98 kB / 0.7354 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005302/0.5433, allocations: 463 kB / 0.7358 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5433, allocations: 0 / 0.7358 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007908/0.5441, allocations: 315.2 kB / 0.7361 GB, free: 10.79 MB / 0.5762 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.003355/0.5474, allocations: 2.034 MB / 0.7381 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.5496, allocations: 0.999 MB / 0.7391 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5496, allocations: 0 / 0.7391 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008734/0.5505, allocations: 0.516 MB / 0.7396 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.5517, allocations: 309 kB / 0.7399 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.5624, allocations: 6.769 MB / 0.7465 GB, free: 260 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2111/0.7736, allocations: 1.016 MB / 0.7475 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001049/0.7746, allocations: 259.7 kB / 0.7477 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005055/0.7752, allocations: 373.1 kB / 0.7481 GB, free: 173 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.7752, allocations: 0 / 0.7481 GB, free: 173 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04906/0.8242, allocations: 21.15 MB / 0.7687 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.8244, allocations: 294.6 kB / 0.769 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.275, allocations: 0 / 0.769 GB, free: 167.5 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)