Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.004282/0.004282, allocations: 97.98 kB / 15.88 MB, free: 6.32 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.001112/0.001112, allocations: 195.4 kB / 16.79 MB, free: 6.254 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.172/1.172, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6208/0.6208, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.69 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.114, allocations: 76.17 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005734/0.1197, allocations: 5.152 MB / 0.5609 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3273/0.447, allocations: 148.4 MB / 0.7058 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007314/0.4478, allocations: 19.88 kB / 0.7058 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.4484, allocations: 153.7 kB / 0.706 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.45, allocations: 493.2 kB / 0.7064 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.4517, allocations: 0.7465 MB / 0.7072 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.453, allocations: 1.35 MB / 0.7085 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008103/0.4538, allocations: 0.6418 MB / 0.7091 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005471/0.4543, allocations: 466.1 kB / 0.7096 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005913/0.4549, allocations: 0.5151 MB / 0.7101 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.4551, allocations: 64 kB / 0.7101 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008015/0.4559, allocations: 431 kB / 0.7105 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.4562, allocations: 262.9 kB / 0.7108 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.4568, allocations: 0.54 MB / 0.7113 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.4583, allocations: 1.658 MB / 0.7129 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4583, allocations: 0 / 0.7129 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.82e-07/0.4583, allocations: 4 kB / 0.7129 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.4584, allocations: 3.75 kB / 0.7129 GB, free: 5.922 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002373/0.4607, allocations: 1.505 MB / 0.7144 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.4608, allocations: 8.031 kB / 0.7144 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.4609, allocations: 156.2 kB / 0.7146 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.462, allocations: 215.2 kB / 0.7148 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008966/0.4629, allocations: 0.7656 MB / 0.7155 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/0.4629, allocations: 74 kB / 0.7156 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.981e-05/0.463, allocations: 88 kB / 0.7157 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.4646, allocations: 1.012 MB / 0.7167 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4646, allocations: 7.938 kB / 0.7167 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.319e-05/0.4647, allocations: 47.98 kB / 0.7167 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.4647, allocations: 20 kB / 0.7167 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.4665, allocations: 1.171 MB / 0.7179 GB, free: 0.7227 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.003737/0.4703, allocations: 2.973 MB / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.4718, allocations: 0.9127 MB / 0.7217 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005345/0.4724, allocations: 314.7 kB / 0.722 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.473, allocations: 478.1 kB / 0.7224 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008516/0.4738, allocations: 0.4952 MB / 0.7229 GB, free: 11.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 1.813e-06/0.4738, allocations: 4 kB / 0.7229 GB, free: 11.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.002985/0.4768, allocations: 1.233 MB / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.4769, allocations: 192.5 kB / 0.7243 GB, free: 9.805 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.4776, allocations: 0.6372 MB / 0.7249 GB, free: 9.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/0.4777, allocations: 45.7 kB / 0.725 GB, free: 9.109 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.4779, allocations: 432.2 kB / 0.7254 GB, free: 8.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.4781, allocations: 260.2 kB / 0.7256 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.4783, allocations: 154.5 kB / 0.7258 GB, free: 8.266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4785, allocations: 386.7 kB / 0.7261 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.479, allocations: 257.9 kB / 0.7264 GB, free: 7.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.4796, allocations: 374.5 kB / 0.7267 GB, free: 7.234 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.4806, allocations: 0.6033 MB / 0.7273 GB, free: 6.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4807, allocations: 0 / 0.7273 GB, free: 6.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001788/0.4824, allocations: 0.8291 MB / 0.7281 GB, free: 5.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4825, allocations: 8 kB / 0.7281 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4825, allocations: 0 / 0.7281 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/0.483, allocations: 86.59 kB / 0.7282 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.4837, allocations: 155.8 kB / 0.7284 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.4855, allocations: 1.519 MB / 0.7299 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.4861, allocations: 104.2 kB / 0.73 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.4861, allocations: 29.7 kB / 0.73 GB, free: 3.75 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.0003303/0.4865, allocations: 274.3 kB / 0.7302 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.4866, allocations: 86.91 kB / 0.7303 GB, free: 3.387 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.489, allocations: 1.098 MB / 0.7314 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.489, allocations: 8 kB / 0.7314 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.489, allocations: 3.938 kB / 0.7314 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.489, allocations: 4.047 kB / 0.7314 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.492, allocations: 2.012 MB / 0.7334 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.492, allocations: 0.6562 kB / 0.7334 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.4926, allocations: 147.8 kB / 0.7335 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004956/0.4931, allocations: 84.77 kB / 0.7336 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.4931, allocations: 31.92 kB / 0.7336 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.4948, allocations: 1.54 MB / 0.7351 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4948, allocations: 3.938 kB / 0.7351 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.4967, allocations: 1.016 MB / 0.7361 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.497, allocations: 287.3 kB / 0.7364 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4971, allocations: 16 kB / 0.7364 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/0.4978, allocations: 78.11 kB / 0.7365 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.4979, allocations: 76.89 kB / 0.7366 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.498, allocations: 31.98 kB / 0.7366 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004983/0.4985, allocations: 471 kB / 0.7371 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4985, allocations: 0 / 0.7371 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007434/0.4993, allocations: 347.2 kB / 0.7374 GB, free: 11.93 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 (93): * Single equations (assignments): 87 * 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.003257/0.5025, allocations: 2.09 MB / 0.7394 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.504, allocations: 0.8202 MB / 0.7402 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.504, allocations: 4 kB / 0.7402 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008799/0.5049, allocations: 0.5275 MB / 0.7407 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.506, allocations: 277.6 kB / 0.741 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.5164, allocations: 7.072 MB / 0.7479 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.517, allocations: 1.051 MB / 0.7489 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007842/0.5178, allocations: 266.9 kB / 0.7492 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/0.5183, allocations: 407.3 kB / 0.7496 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5183, allocations: 0 / 0.7496 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.361/2.88, allocations: 21.41 MB / 0.7705 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/2.88, allocations: 314.1 kB / 0.7708 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/4.996, allocations: 0 / 0.7708 GB, free: 10.02 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)