Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.000695/0.0006951, allocations: 93.34 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007377/0.0007377, allocations: 183.9 kB / 16.92 MB, free: 6.914 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.194/1.194, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6143/0.6143, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 8 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004902/0.1227, allocations: 4.676 MB / 0.5646 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3377/0.4605, allocations: 146.8 MB / 0.7079 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005904/0.4611, allocations: 19.88 kB / 0.7079 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004966/0.4616, allocations: 158.8 kB / 0.7081 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.463, allocations: 485.9 kB / 0.7085 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.4645, allocations: 0.7367 MB / 0.7093 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.4659, allocations: 1.346 MB / 0.7106 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000825/0.4667, allocations: 0.6194 MB / 0.7112 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005124/0.4672, allocations: 366.2 kB / 0.7115 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004934/0.4677, allocations: 413.7 kB / 0.7119 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.493e-05/0.4678, allocations: 24 kB / 0.712 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006341/0.4685, allocations: 367.6 kB / 0.7123 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.4687, allocations: 203 kB / 0.7125 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.4691, allocations: 498.7 kB / 0.713 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.4705, allocations: 1.596 MB / 0.7145 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4705, allocations: 4 kB / 0.7145 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4705, allocations: 7.938 kB / 0.7145 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.338e-05/0.4705, allocations: 0 / 0.7145 GB, free: 8.359 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002152/0.4727, allocations: 1.267 MB / 0.7158 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4727, allocations: 12.03 kB / 0.7158 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.4729, allocations: 148.1 kB / 0.7159 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.4739, allocations: 227.2 kB / 0.7162 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009653/0.4749, allocations: 0.7616 MB / 0.7169 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/0.475, allocations: 70 kB / 0.717 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.4751, allocations: 92 kB / 0.7171 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.4767, allocations: 1.011 MB / 0.718 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.4767, allocations: 0 / 0.718 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.362e-05/0.4768, allocations: 43.98 kB / 0.7181 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.4768, allocations: 28 kB / 0.7181 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.4786, allocations: 1.179 MB / 0.7193 GB, free: 3.398 MB / 0.5294 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.003914/0.4826, allocations: 2.904 MB / 0.7221 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.4848, allocations: 0.9912 MB / 0.7231 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.4854, allocations: 322.5 kB / 0.7234 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/0.4855, allocations: 40.45 kB / 0.7234 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008317/0.4863, allocations: 0.4914 MB / 0.7239 GB, free: 14.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 1.903e-06/0.4863, allocations: 4 kB / 0.7239 GB, free: 14.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.002994/0.4893, allocations: 1.244 MB / 0.7251 GB, free: 13.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.4894, allocations: 192.5 kB / 0.7253 GB, free: 12.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000716/0.4902, allocations: 0.6488 MB / 0.7259 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/0.4902, allocations: 45.69 kB / 0.726 GB, free: 12.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.4905, allocations: 416.3 kB / 0.7264 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.4907, allocations: 272.1 kB / 0.7266 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/0.4908, allocations: 61.69 kB / 0.7267 GB, free: 11.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.491, allocations: 382.8 kB / 0.727 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/0.4915, allocations: 261.9 kB / 0.7273 GB, free: 10.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.4921, allocations: 378.5 kB / 0.7277 GB, free: 10.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.4932, allocations: 0.6073 MB / 0.7283 GB, free: 9.867 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4932, allocations: 0 / 0.7283 GB, free: 9.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001784/0.495, allocations: 0.8331 MB / 0.7291 GB, free: 9.023 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.495, allocations: 8 kB / 0.7291 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.495, allocations: 0 / 0.7291 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005343/0.4955, allocations: 88.8 kB / 0.7292 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.4962, allocations: 163.8 kB / 0.7293 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.4979, allocations: 1.526 MB / 0.7308 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/0.4986, allocations: 103.4 kB / 0.7309 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.4987, allocations: 31.98 kB / 0.7309 GB, free: 6.973 MB / 0.545 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 (88): * Single equations (assignments): 87 * 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.0003332/0.499, allocations: 279.7 kB / 0.7312 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4991, allocations: 82.97 kB / 0.7313 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.5014, allocations: 1.105 MB / 0.7324 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.5014, allocations: 8 kB / 0.7324 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5014, allocations: 7.938 kB / 0.7324 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.5014, allocations: 7.984 kB / 0.7324 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.5044, allocations: 2.008 MB / 0.7343 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5044, allocations: 4 kB / 0.7343 GB, free: 3.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.505, allocations: 155.8 kB / 0.7345 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004772/0.5055, allocations: 80.77 kB / 0.7346 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.5056, allocations: 31.97 kB / 0.7346 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.5072, allocations: 1.548 MB / 0.7361 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5072, allocations: 3.938 kB / 0.7361 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.5091, allocations: 1.027 MB / 0.7371 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.5094, allocations: 291.6 kB / 0.7374 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.5095, allocations: 16 kB / 0.7374 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/0.5103, allocations: 89.45 kB / 0.7375 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.5104, allocations: 72.89 kB / 0.7376 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/0.5105, allocations: 39.97 kB / 0.7376 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005066/0.511, allocations: 471 kB / 0.7381 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.511, allocations: 0 / 0.7381 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007008/0.5117, allocations: 331.2 kB / 0.7384 GB, free: 15.09 MB / 0.5606 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 (94): * Single equations (assignments): 88 * 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.003218/0.5149, allocations: 2.079 MB / 0.7404 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.5164, allocations: 0.828 MB / 0.7412 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5165, allocations: 0 / 0.7412 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.5173, allocations: 0.5314 MB / 0.7417 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.5185, allocations: 282.1 kB / 0.742 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.529, allocations: 7.129 MB / 0.749 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.5295, allocations: 1.039 MB / 0.75 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007521/0.5303, allocations: 274.8 kB / 0.7502 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/0.5308, allocations: 407.3 kB / 0.7506 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.5308, allocations: 3.938 kB / 0.7506 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.801/2.332, allocations: 20.9 MB / 0.771 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/2.332, allocations: 310.7 kB / 0.7713 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/4.479, allocations: 0 / 0.7713 GB, free: 13.66 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)