Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001227/0.001227, allocations: 99.36 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.001248/0.001248, allocations: 197 kB / 16.91 MB, free: 6.191 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.281/1.281, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6927/0.6927, allocations: 115.3 MB / 406.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001488, allocations: 59.91 kB / 493.2 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3483, allocations: 76.17 MB / 0.556 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005579/0.354, allocations: 4.996 MB / 0.5609 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.153/0.507, allocations: 148.5 MB / 0.7059 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009931/0.5081, allocations: 15.94 kB / 0.706 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007656/0.5089, allocations: 158.8 kB / 0.7061 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.511, allocations: 0.4883 MB / 0.7066 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.5131, allocations: 0.7927 MB / 0.7074 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.5148, allocations: 1.456 MB / 0.7088 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009035/0.5157, allocations: 0.6024 MB / 0.7094 GB, free: 7.066 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007484/0.5164, allocations: 0.5177 MB / 0.7099 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007523/0.5172, allocations: 0.5445 MB / 0.7104 GB, free: 6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.5174, allocations: 120 kB / 0.7105 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009433/0.5184, allocations: 491.6 kB / 0.711 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.5187, allocations: 315 kB / 0.7113 GB, free: 5.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006244/0.5194, allocations: 0.5946 MB / 0.7119 GB, free: 4.496 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.5212, allocations: 1.679 MB / 0.7135 GB, free: 2.812 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5212, allocations: 3.938 kB / 0.7135 GB, free: 2.809 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5212, allocations: 0 / 0.7135 GB, free: 2.809 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.275e-05/0.5213, allocations: 0 / 0.7135 GB, free: 2.809 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.0031/0.5244, allocations: 1.506 MB / 0.715 GB, free: 1.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5244, allocations: 12.03 kB / 0.715 GB, free: 1.238 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/0.5246, allocations: 143.8 kB / 0.7151 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009058/0.5256, allocations: 187.3 kB / 0.7153 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.5266, allocations: 0.7584 MB / 0.7161 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.5267, allocations: 70 kB / 0.7161 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.5268, allocations: 88.05 kB / 0.7162 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.5284, allocations: 0.9769 MB / 0.7172 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.5285, allocations: 7.875 kB / 0.7172 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.493e-05/0.5286, allocations: 36 kB / 0.7172 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.5286, allocations: 20 kB / 0.7172 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.5303, allocations: 1.163 MB / 0.7184 GB, free: 13.71 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.004216/0.5346, allocations: 2.903 MB / 0.7212 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.5366, allocations: 0.9849 MB / 0.7222 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.5371, allocations: 326.7 kB / 0.7225 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.228e-05/0.5372, allocations: 34.73 kB / 0.7225 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009264/0.5382, allocations: 0.543 MB / 0.723 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.174e-06/0.5382, allocations: 0 / 0.723 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.00317/0.5413, allocations: 1.302 MB / 0.7243 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.5414, allocations: 192.9 kB / 0.7245 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007527/0.5422, allocations: 0.6451 MB / 0.7251 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/0.5423, allocations: 41.7 kB / 0.7252 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.5426, allocations: 412.4 kB / 0.7255 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.5428, allocations: 283.9 kB / 0.7258 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.543, allocations: 162.5 kB / 0.726 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5432, allocations: 390.8 kB / 0.7263 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005119/0.5437, allocations: 273.8 kB / 0.7266 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.5444, allocations: 382.5 kB / 0.727 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.5455, allocations: 0.632 MB / 0.7276 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5455, allocations: 0 / 0.7276 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001967/0.5475, allocations: 0.872 MB / 0.7284 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5475, allocations: 8 kB / 0.7284 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5475, allocations: 4.094 kB / 0.7284 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.5481, allocations: 80.77 kB / 0.7285 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.5488, allocations: 171.7 kB / 0.7287 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.5509, allocations: 1.629 MB / 0.7303 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000737/0.5517, allocations: 101.2 kB / 0.7304 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/0.5517, allocations: 35.97 kB / 0.7304 GB, free: 0.8945 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: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0003717/0.5521, allocations: 267.5 kB / 0.7307 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.5523, allocations: 94.89 kB / 0.7308 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.5548, allocations: 1.195 MB / 0.7319 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.5549, allocations: 12 kB / 0.7319 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5549, allocations: 8 kB / 0.7319 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.5549, allocations: 3.984 kB / 0.7319 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.5582, allocations: 2.109 MB / 0.734 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5582, allocations: 0 / 0.734 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.5588, allocations: 171.7 kB / 0.7342 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004348/0.5593, allocations: 76.72 kB / 0.7342 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.636e-05/0.5593, allocations: 23.98 kB / 0.7343 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.5611, allocations: 1.655 MB / 0.7359 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5611, allocations: 0 / 0.7359 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.5631, allocations: 1.097 MB / 0.737 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.5635, allocations: 287.6 kB / 0.7372 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.5636, allocations: 24 kB / 0.7373 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.5643, allocations: 67.92 kB / 0.7373 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.5645, allocations: 84.83 kB / 0.7374 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.173e-05/0.5646, allocations: 39.97 kB / 0.7374 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005202/0.5651, allocations: 483 kB / 0.7379 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.342e-06/0.5651, allocations: 0 / 0.7379 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008139/0.5659, allocations: 343.1 kB / 0.7382 GB, free: 8.621 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: 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 (106): * Single equations (assignments): 99 * 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.00344/0.5694, allocations: 2.161 MB / 0.7403 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.5718, allocations: 1.097 MB / 0.7414 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5718, allocations: 0 / 0.7414 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.5727, allocations: 0.5588 MB / 0.742 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.5739, allocations: 302.5 kB / 0.7422 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2029/0.7768, allocations: 7.216 MB / 0.7493 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.7773, allocations: 1.047 MB / 0.7503 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008779/0.7782, allocations: 277.8 kB / 0.7506 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.7787, allocations: 414.2 kB / 0.751 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.7787, allocations: 0 / 0.751 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.088/1.867, allocations: 22.49 MB / 0.7729 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.867, allocations: 305.9 kB / 0.7732 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/4.346, allocations: 0 / 0.7732 GB, free: 164.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)