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.0009788/0.0009788, allocations: 102.3 kB / 16.4 MB, free: 6.488 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.0009722/0.0009724, allocations: 199.8 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.201/1.201, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6485/0.6485, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 62.52 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1151, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005967/0.1211, allocations: 4.922 MB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4531/0.5742, allocations: 150.6 MB / 0.7835 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007272/0.575, allocations: 23 kB / 0.7835 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005107/0.5755, allocations: 194.1 kB / 0.7837 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.577, allocations: 0.5596 MB / 0.7842 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.5785, allocations: 0.8526 MB / 0.7851 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.5796, allocations: 1.434 MB / 0.7865 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000677/0.5802, allocations: 0.5916 MB / 0.787 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/0.5808, allocations: 0.4973 MB / 0.7875 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004477/0.5812, allocations: 0.5216 MB / 0.788 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.5813, allocations: 122.4 kB / 0.7882 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006919/0.582, allocations: 485.2 kB / 0.7886 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.5823, allocations: 310.1 kB / 0.7889 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004051/0.5827, allocations: 0.5793 MB / 0.7895 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.584, allocations: 1.672 MB / 0.7911 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.584, allocations: 0 / 0.7911 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.584, allocations: 0 / 0.7911 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.584, allocations: 0 / 0.7911 GB, free: 13.35 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.002254/0.5863, allocations: 1.461 MB / 0.7925 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.5863, allocations: 14.25 kB / 0.7926 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.5865, allocations: 141.3 kB / 0.7927 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008207/0.5873, allocations: 190.7 kB / 0.7929 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/0.5882, allocations: 0.7727 MB / 0.7936 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.5882, allocations: 67.81 kB / 0.7937 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.5883, allocations: 82.84 kB / 0.7938 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.5896, allocations: 0.9514 MB / 0.7947 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.5896, allocations: 4 kB / 0.7947 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.441e-05/0.5897, allocations: 38.16 kB / 0.7947 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.5897, allocations: 22.31 kB / 0.7948 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.5911, allocations: 1.128 MB / 0.7959 GB, free: 11.92 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.003226/0.5944, allocations: 2.743 MB / 0.7985 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.5956, allocations: 0.9108 MB / 0.7994 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004724/0.5961, allocations: 317.5 kB / 0.7997 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/0.5962, allocations: 38.25 kB / 0.7998 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007513/0.597, allocations: 0.5089 MB / 0.8003 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 1.804e-06/0.597, allocations: 0 / 0.8003 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002888/0.5999, allocations: 1.259 MB / 0.8015 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.6, allocations: 194.6 kB / 0.8017 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/0.6006, allocations: 0.645 MB / 0.8023 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.6007, allocations: 48.34 kB / 0.8024 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.6009, allocations: 404.5 kB / 0.8027 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.6011, allocations: 271.1 kB / 0.803 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.6013, allocations: 151.4 kB / 0.8031 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.6015, allocations: 393.2 kB / 0.8035 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.6019, allocations: 254.8 kB / 0.8038 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.6025, allocations: 383.4 kB / 0.8041 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009097/0.6034, allocations: 0.6157 MB / 0.8047 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6034, allocations: 0 / 0.8047 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001658/0.6051, allocations: 0.8366 MB / 0.8055 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6051, allocations: 5.531 kB / 0.8056 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6051, allocations: 6.312 kB / 0.8056 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.6057, allocations: 82.55 kB / 0.8056 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.6063, allocations: 163.3 kB / 0.8058 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.6082, allocations: 1.631 MB / 0.8074 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006645/0.6088, allocations: 98.41 kB / 0.8075 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.6089, allocations: 33.3 kB / 0.8075 GB, free: 6.609 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.0003773/0.6093, allocations: 276.2 kB / 0.8078 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.6095, allocations: 83.28 kB / 0.8079 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.6117, allocations: 1.138 MB / 0.809 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6117, allocations: 14.34 kB / 0.809 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.6118, allocations: 0 / 0.809 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.6118, allocations: 7.969 kB / 0.809 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.6147, allocations: 2.024 MB / 0.811 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6148, allocations: 2.344 kB / 0.811 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005567/0.6153, allocations: 154.4 kB / 0.8111 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.6157, allocations: 73.84 kB / 0.8112 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-05/0.6158, allocations: 27.86 kB / 0.8112 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.6176, allocations: 1.667 MB / 0.8128 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6176, allocations: 0 / 0.8128 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.6194, allocations: 1.056 MB / 0.8139 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.6198, allocations: 274.3 kB / 0.8141 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.6199, allocations: 20.84 kB / 0.8142 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/0.6206, allocations: 69.56 kB / 0.8142 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.6208, allocations: 78.58 kB / 0.8143 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.6209, allocations: 40.75 kB / 0.8143 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005027/0.6214, allocations: 464.1 kB / 0.8148 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6214, allocations: 0 / 0.8148 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008259/0.6222, allocations: 334.9 kB / 0.8151 GB, free: 1.52 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.003301/0.6255, allocations: 2.105 MB / 0.8171 GB, free: 228 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.627, allocations: 0.8359 MB / 0.818 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.627, allocations: 0 / 0.818 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008379/0.6279, allocations: 0.5474 MB / 0.8185 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.629, allocations: 314.6 kB / 0.8188 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00888/0.6379, allocations: 6.397 MB / 0.825 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.6384, allocations: 1.037 MB / 0.8261 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006883/0.6391, allocations: 272.7 kB / 0.8263 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.6396, allocations: 398.8 kB / 0.8267 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.6396, allocations: 0 / 0.8267 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04615/0.6858, allocations: 22.7 MB / 0.8489 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.02, allocations: 19.23 kB / 0.8489 GB, free: 4.461 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)