Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.001179/0.001179, allocations: 104.5 kB / 16.4 MB, free: 6.492 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.001272/0.001272, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7566/0.7566, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.02 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1518, allocations: 76.17 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007045/0.1589, allocations: 4.925 MB / 0.6364 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6325/0.7914, allocations: 150.6 MB / 0.7835 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.7928, allocations: 16.53 kB / 0.7835 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009528/0.7938, allocations: 198.6 kB / 0.7837 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.7966, allocations: 0.5579 MB / 0.7842 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.7995, allocations: 0.8488 MB / 0.7851 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002359/0.8019, allocations: 1.435 MB / 0.7865 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.8033, allocations: 0.5888 MB / 0.787 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.8047, allocations: 0.5049 MB / 0.7875 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.8059, allocations: 0.521 MB / 0.788 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004769/0.8064, allocations: 118.9 kB / 0.7882 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.8079, allocations: 484 kB / 0.7886 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005756/0.8085, allocations: 313 kB / 0.7889 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.8097, allocations: 0.5718 MB / 0.7895 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003325/0.8131, allocations: 1.668 MB / 0.7911 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.8131, allocations: 7.938 kB / 0.7911 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8131, allocations: 0 / 0.7911 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.274e-05/0.8132, allocations: 0 / 0.7911 GB, free: 12.91 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.004563/0.8178, allocations: 1.464 MB / 0.7925 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.8178, allocations: 10.97 kB / 0.7926 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000372/0.8182, allocations: 137.2 kB / 0.7927 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.8195, allocations: 193.8 kB / 0.7929 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.8215, allocations: 0.7762 MB / 0.7936 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.491e-05/0.8216, allocations: 65.72 kB / 0.7937 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.8219, allocations: 82.19 kB / 0.7938 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.8242, allocations: 0.945 MB / 0.7947 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.8243, allocations: 0 / 0.7947 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.8244, allocations: 40.03 kB / 0.7947 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.8244, allocations: 24.66 kB / 0.7948 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.8266, allocations: 1.134 MB / 0.7959 GB, free: 11.48 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.00593/0.8326, allocations: 2.75 MB / 0.7985 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.8345, allocations: 0.9039 MB / 0.7994 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/0.8352, allocations: 317.2 kB / 0.7997 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.735e-05/0.8353, allocations: 35.5 kB / 0.7998 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.8364, allocations: 0.5165 MB / 0.8003 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 6.022e-06/0.8364, allocations: 0 / 0.8003 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003689/0.8401, allocations: 1.258 MB / 0.8015 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.8403, allocations: 188.8 kB / 0.8017 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.8415, allocations: 0.6443 MB / 0.8023 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.8417, allocations: 42.95 kB / 0.8023 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.8421, allocations: 412.9 kB / 0.8027 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.8424, allocations: 272.4 kB / 0.803 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.8428, allocations: 152.6 kB / 0.8031 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.843, allocations: 389 kB / 0.8035 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006009/0.8436, allocations: 255.4 kB / 0.8038 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.8443, allocations: 390.4 kB / 0.8041 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.8455, allocations: 0.61 MB / 0.8047 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.8455, allocations: 3.625 kB / 0.8047 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002212/0.8477, allocations: 0.8352 MB / 0.8055 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.8478, allocations: 4.938 kB / 0.8056 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.8478, allocations: 5.812 kB / 0.8056 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/0.8484, allocations: 86.77 kB / 0.8056 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/0.8492, allocations: 159 kB / 0.8058 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.8518, allocations: 1.634 MB / 0.8074 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.8529, allocations: 89.61 kB / 0.8075 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.8531, allocations: 42.72 kB / 0.8075 GB, free: 6.141 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0007569/0.8539, allocations: 275.7 kB / 0.8078 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/0.8543, allocations: 84.09 kB / 0.8079 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.8571, allocations: 1.137 MB / 0.809 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.8571, allocations: 17.22 kB / 0.809 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.8571, allocations: 0 / 0.809 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.8572, allocations: 7.984 kB / 0.809 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004699/0.8619, allocations: 2.026 MB / 0.811 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.8619, allocations: 0 / 0.811 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.8626, allocations: 158.3 kB / 0.8111 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/0.8631, allocations: 69.84 kB / 0.8112 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.8632, allocations: 30.48 kB / 0.8112 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.8653, allocations: 1.671 MB / 0.8128 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8654, allocations: 0 / 0.8128 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.868, allocations: 1.056 MB / 0.8139 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006342/0.8687, allocations: 277.8 kB / 0.8141 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.8689, allocations: 19.69 kB / 0.8142 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/0.8698, allocations: 66.36 kB / 0.8142 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.87, allocations: 74.11 kB / 0.8143 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.306e-05/0.8701, allocations: 41.19 kB / 0.8143 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007486/0.8709, allocations: 468.2 kB / 0.8148 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8709, allocations: 0 / 0.8148 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001202/0.8721, allocations: 335.1 kB / 0.8151 GB, free: 1.379 MB / 0.5919 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 (100): * Single equations (assignments): 93 * 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.004147/0.8762, allocations: 2.096 MB / 0.8172 GB, free: 88 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002015/0.8783, allocations: 0.836 MB / 0.818 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.8783, allocations: 0 / 0.818 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.8794, allocations: 0.5501 MB / 0.8185 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.8812, allocations: 309.3 kB / 0.8188 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.8949, allocations: 6.406 MB / 0.8251 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008885/0.8959, allocations: 1.029 MB / 0.8261 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001102/0.897, allocations: 268.5 kB / 0.8263 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007399/0.8977, allocations: 399.5 kB / 0.8267 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of SimCode: time 9.62e-07/0.8978, allocations: 0 / 0.8267 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06204/0.9598, allocations: 22.7 MB / 0.8489 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.8, allocations: 15.61 kB / 0.8489 GB, free: 4.305 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)