Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001347/0.001347, allocations: 99.62 kB / 16.27 MB, free: 6.41 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.001531/0.001531, allocations: 185.1 kB / 17.2 MB, free: 5.953 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.229/1.229, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6853/0.6853, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2722, allocations: 77.91 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005693/0.278, allocations: 5.955 MB / 0.5731 GB, free: 28.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1329/0.4109, allocations: 150.8 MB / 0.7204 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.4119, allocations: 23.88 kB / 0.7204 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.4128, allocations: 237.7 kB / 0.7206 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.4148, allocations: 0.6203 MB / 0.7212 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.4168, allocations: 0.8689 MB / 0.7221 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.4185, allocations: 1.638 MB / 0.7237 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.4196, allocations: 0.8656 MB / 0.7245 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007069/0.4203, allocations: 0.6111 MB / 0.7251 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.4209, allocations: 0.6574 MB / 0.7258 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.4211, allocations: 156 kB / 0.7259 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007632/0.4219, allocations: 495.6 kB / 0.7264 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.4222, allocations: 378.8 kB / 0.7268 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005423/0.4227, allocations: 0.7346 MB / 0.7275 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.4244, allocations: 1.99 MB / 0.7294 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4244, allocations: 3.984 kB / 0.7294 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.011e-06/0.4244, allocations: 0 / 0.7294 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.4244, allocations: 0 / 0.7294 GB, free: 4.176 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002506/0.4269, allocations: 1.717 MB / 0.7311 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4269, allocations: 16.61 kB / 0.7311 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.4271, allocations: 177.8 kB / 0.7313 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008627/0.428, allocations: 223 kB / 0.7315 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.429, allocations: 0.848 MB / 0.7323 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/0.4291, allocations: 86.41 kB / 0.7324 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.4292, allocations: 120 kB / 0.7325 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.4309, allocations: 1.202 MB / 0.7337 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.431, allocations: 0 / 0.7337 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/0.4311, allocations: 55.88 kB / 0.7337 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.4311, allocations: 32 kB / 0.7338 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.433, allocations: 1.289 MB / 0.735 GB, free: 14.24 MB / 0.5762 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.004387/0.4374, allocations: 3.586 MB / 0.7385 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.4389, allocations: 0.8738 MB / 0.7394 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.4394, allocations: 322.7 kB / 0.7397 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-05/0.4395, allocations: 36.61 kB / 0.7397 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000797/0.4403, allocations: 0.512 MB / 0.7402 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 1.983e-06/0.4403, allocations: 4 kB / 0.7402 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.003038/0.4433, allocations: 1.282 MB / 0.7415 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.4434, allocations: 192.9 kB / 0.7417 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007731/0.4442, allocations: 0.7392 MB / 0.7424 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.4443, allocations: 45.69 kB / 0.7424 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.4446, allocations: 0.5154 MB / 0.7429 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.4448, allocations: 287.8 kB / 0.7432 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.445, allocations: 154.5 kB / 0.7434 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4451, allocations: 338 kB / 0.7437 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.4456, allocations: 270 kB / 0.7439 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.4462, allocations: 390.4 kB / 0.7443 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.4473, allocations: 0.6437 MB / 0.7449 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4473, allocations: 0 / 0.7449 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001808/0.4491, allocations: 0.8682 MB / 0.7458 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4492, allocations: 10.12 kB / 0.7458 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.4492, allocations: 4 kB / 0.7458 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/0.4498, allocations: 88.8 kB / 0.7459 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.4504, allocations: 163.8 kB / 0.746 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.4522, allocations: 1.619 MB / 0.7476 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/0.4529, allocations: 107.2 kB / 0.7477 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.4529, allocations: 27.98 kB / 0.7478 GB, free: 0.7188 MB / 0.5762 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 (96): * Single equations (assignments): 95 * 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.0003709/0.4533, allocations: 305.5 kB / 0.748 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.4535, allocations: 90.88 kB / 0.7481 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2041/0.6575, allocations: 1.136 MB / 0.7492 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.6576, allocations: 10.09 kB / 0.7492 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6576, allocations: 0.6875 kB / 0.7492 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.6576, allocations: 5.609 kB / 0.7493 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.659, allocations: 1.05 MB / 0.7503 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.6591, allocations: 0 / 0.7503 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.6597, allocations: 155 kB / 0.7504 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.6601, allocations: 77.59 kB / 0.7505 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.571e-05/0.6602, allocations: 29.2 kB / 0.7505 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.6617, allocations: 1.66 MB / 0.7522 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.6618, allocations: 0.9688 kB / 0.7522 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.6638, allocations: 0.9847 MB / 0.7531 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.6642, allocations: 289.7 kB / 0.7534 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.6643, allocations: 21.41 kB / 0.7534 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.665, allocations: 62.69 kB / 0.7535 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.6651, allocations: 75.25 kB / 0.7535 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.6652, allocations: 39.02 kB / 0.7536 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006496/0.6659, allocations: 0.5162 MB / 0.7541 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.81e-07/0.6659, allocations: 0.5625 kB / 0.7541 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008846/0.6668, allocations: 389.9 kB / 0.7545 GB, free: 168.1 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: 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.003438/0.6702, allocations: 2.037 MB / 0.7564 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.6725, allocations: 1.071 MB / 0.7575 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6725, allocations: 0.9688 kB / 0.7575 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.6734, allocations: 0.5406 MB / 0.758 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.6745, allocations: 335.1 kB / 0.7583 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.6846, allocations: 7.365 MB / 0.7655 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.6851, allocations: 1.109 MB / 0.7666 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008791/0.686, allocations: 295.7 kB / 0.7669 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/0.6866, allocations: 491.1 kB / 0.7674 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.6866, allocations: 0 / 0.7674 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.63/2.316, allocations: 23.84 MB / 0.7906 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/17.96, allocations: 1.562 kB / 0.7906 GB, free: 143.5 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)