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.001007/0.001007, allocations: 103.7 kB / 16.27 MB, free: 5.949 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.001152/0.001152, allocations: 190 kB / 17.19 MB, free: 5.594 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.169/1.169, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6737/0.6737, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.89 kB / 0.4912 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2866, allocations: 77.92 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005226/0.2919, allocations: 4.931 MB / 0.5721 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1359/0.4279, allocations: 150.6 MB / 0.7192 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000936/0.4288, allocations: 19.88 kB / 0.7192 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007115/0.4295, allocations: 202.1 kB / 0.7194 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.4316, allocations: 0.5501 MB / 0.72 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.4336, allocations: 0.8513 MB / 0.7208 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001516/0.4351, allocations: 1.425 MB / 0.7222 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008479/0.436, allocations: 0.5834 MB / 0.7227 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/0.4366, allocations: 0.5022 MB / 0.7232 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006669/0.4373, allocations: 0.5173 MB / 0.7237 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.4375, allocations: 120 kB / 0.7239 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008259/0.4384, allocations: 455.6 kB / 0.7243 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.4386, allocations: 311 kB / 0.7246 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000563/0.4392, allocations: 0.5674 MB / 0.7251 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.4409, allocations: 1.636 MB / 0.7267 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4409, allocations: 0 / 0.7267 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4409, allocations: 0 / 0.7267 GB, free: 7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.199e-05/0.4409, allocations: 4 kB / 0.7267 GB, free: 6.996 MB / 0.5606 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.002687/0.4436, allocations: 1.471 MB / 0.7282 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4437, allocations: 8.625 kB / 0.7282 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.4439, allocations: 139.6 kB / 0.7283 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008937/0.4448, allocations: 191.3 kB / 0.7285 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009932/0.4458, allocations: 0.7621 MB / 0.7292 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.4458, allocations: 66 kB / 0.7293 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/0.4459, allocations: 83.94 kB / 0.7294 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.4474, allocations: 0.9457 MB / 0.7303 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.4474, allocations: 0 / 0.7303 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.665e-05/0.4475, allocations: 40 kB / 0.7303 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.4475, allocations: 20 kB / 0.7304 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.4492, allocations: 1.132 MB / 0.7315 GB, free: 2.004 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.003702/0.4529, allocations: 2.759 MB / 0.7342 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.4544, allocations: 0.9149 MB / 0.7351 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.4549, allocations: 316.1 kB / 0.7354 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.928e-05/0.455, allocations: 36.67 kB / 0.7354 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000819/0.4558, allocations: 0.5091 MB / 0.7359 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.034e-06/0.4558, allocations: 0 / 0.7359 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003076/0.4589, allocations: 1.259 MB / 0.7371 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.459, allocations: 196.9 kB / 0.7373 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.4597, allocations: 0.6371 MB / 0.7379 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.4597, allocations: 45.69 kB / 0.738 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.46, allocations: 400.4 kB / 0.7384 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.4602, allocations: 276.1 kB / 0.7386 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.4604, allocations: 154.5 kB / 0.7388 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4606, allocations: 390.7 kB / 0.7391 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.4611, allocations: 253.9 kB / 0.7394 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.4617, allocations: 383.3 kB / 0.7398 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.4628, allocations: 0.6133 MB / 0.7403 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4628, allocations: 0 / 0.7403 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001841/0.4646, allocations: 0.8331 MB / 0.7412 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4646, allocations: 11.94 kB / 0.7412 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4646, allocations: 0 / 0.7412 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.4652, allocations: 84.89 kB / 0.7413 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.4658, allocations: 163.7 kB / 0.7414 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.4678, allocations: 1.642 MB / 0.743 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/0.4684, allocations: 99.66 kB / 0.7431 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/0.4685, allocations: 35.92 kB / 0.7431 GB, free: 5.582 MB / 0.5762 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.0003348/0.4689, allocations: 269.4 kB / 0.7434 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.469, allocations: 90.81 kB / 0.7435 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.4714, allocations: 1.136 MB / 0.7446 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.4714, allocations: 12 kB / 0.7446 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4715, allocations: 4 kB / 0.7446 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.4715, allocations: 7.969 kB / 0.7446 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.4745, allocations: 2.033 MB / 0.7466 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4745, allocations: 0 / 0.7466 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.4751, allocations: 155.7 kB / 0.7468 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/0.4755, allocations: 76.78 kB / 0.7468 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/0.4756, allocations: 23.98 kB / 0.7469 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2076/0.6832, allocations: 1.667 MB / 0.7485 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.6832, allocations: 0.5156 kB / 0.7485 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.6856, allocations: 1.044 MB / 0.7495 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.6859, allocations: 279 kB / 0.7498 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.6861, allocations: 23.78 kB / 0.7498 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006781/0.6867, allocations: 65.33 kB / 0.7498 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.6869, allocations: 81.86 kB / 0.7499 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.571e-05/0.687, allocations: 39.31 kB / 0.75 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005806/0.6876, allocations: 471.2 kB / 0.7504 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6876, allocations: 0 / 0.7504 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008363/0.6884, allocations: 327.5 kB / 0.7507 GB, free: 169.9 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 (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.003265/0.6917, allocations: 2.1 MB / 0.7528 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00236/0.6941, allocations: 1.056 MB / 0.7538 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6941, allocations: 5.312 kB / 0.7538 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.6951, allocations: 0.5412 MB / 0.7543 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.6964, allocations: 309.9 kB / 0.7546 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009445/0.7058, allocations: 6.638 MB / 0.7611 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.7064, allocations: 1.036 MB / 0.7621 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008675/0.7073, allocations: 274.4 kB / 0.7624 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/0.7078, allocations: 401.3 kB / 0.7628 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.7078, allocations: 0 / 0.7628 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.879/2.587, allocations: 22.01 MB / 0.7843 GB, free: 150 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/17.01, allocations: 12.55 kB / 0.7843 GB, free: 150 MB / 0.5762 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)