Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.001238/0.001238, allocations: 108.7 kB / 15.99 MB, free: 5.902 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.001184/0.001184, allocations: 190 kB / 16.9 MB, free: 5.754 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.212/1.212, allocations: 222.9 MB / 240.6 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6511/0.6511, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.91 kB / 493.2 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2679, allocations: 76.17 MB / 0.556 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006963/0.2749, allocations: 8.326 MB / 0.5641 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1317/0.4066, allocations: 149.6 MB / 0.7102 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.4081, allocations: 27.88 kB / 0.7103 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.4091, allocations: 242 kB / 0.7105 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.4118, allocations: 0.7405 MB / 0.7112 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.4144, allocations: 1.245 MB / 0.7124 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00287/0.4173, allocations: 2.982 MB / 0.7153 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.419, allocations: 1.5 MB / 0.7168 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.4203, allocations: 1.188 MB / 0.718 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.4217, allocations: 1.345 MB / 0.7193 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003749/0.4221, allocations: 328 kB / 0.7196 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009385/0.4231, allocations: 0.6754 MB / 0.7202 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.4236, allocations: 0.6971 MB / 0.7209 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009346/0.4245, allocations: 1.338 MB / 0.7222 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.4271, allocations: 3.595 MB / 0.7257 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4271, allocations: 3.938 kB / 0.7257 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4271, allocations: 0 / 0.7257 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.4272, allocations: 0 / 0.7257 GB, free: 6.188 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004957/0.4321, allocations: 2.834 MB / 0.7285 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.4322, allocations: 12.03 kB / 0.7285 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003324/0.4325, allocations: 312.9 kB / 0.7288 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.4473, allocations: 2.116 MB / 0.7309 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.4489, allocations: 1.259 MB / 0.7321 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.4491, allocations: 168.5 kB / 0.7323 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000328/0.4494, allocations: 216 kB / 0.7325 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00738/0.4568, allocations: 3.286 MB / 0.7357 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.4568, allocations: 0 / 0.7357 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.4571, allocations: 95.98 kB / 0.7358 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/0.4571, allocations: 56 kB / 0.7358 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/0.4684, allocations: 4.205 MB / 0.7399 GB, free: 7.391 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.1885/0.657, allocations: 8.104 MB / 0.7479 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008636/0.6656, allocations: 2.883 MB / 0.7507 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00397/0.6696, allocations: 1.492 MB / 0.7521 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/0.6702, allocations: 0.5044 MB / 0.7526 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004615/0.6749, allocations: 1.842 MB / 0.7544 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 3.958e-06/0.6749, allocations: 0.5938 kB / 0.7544 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.01326/0.6882, allocations: 4.472 MB / 0.7588 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.6882, allocations: 204.3 kB / 0.759 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.6894, allocations: 0.9476 MB / 0.7599 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.6896, allocations: 64.03 kB / 0.76 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.6901, allocations: 0.745 MB / 0.7607 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000449/0.6905, allocations: 0.6833 MB / 0.7614 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007218/0.6913, allocations: 374.5 kB / 0.7617 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 2.954e-05/0.6913, allocations: 306.3 kB / 0.762 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003752/0.6951, allocations: 1.233 MB / 0.7632 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003896/0.699, allocations: 1.442 MB / 0.7646 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00731/0.7063, allocations: 2.582 MB / 0.7671 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.7063, allocations: 1.562 kB / 0.7672 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008767/0.7151, allocations: 3.076 MB / 0.7702 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.7151, allocations: 7.984 kB / 0.7702 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.7151, allocations: 5.562 kB / 0.7702 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.7157, allocations: 84.34 kB / 0.7702 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003374/0.7191, allocations: 0.5968 MB / 0.7708 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.7207, allocations: 1.642 MB / 0.7724 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.7235, allocations: 374.3 kB / 0.7728 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/0.7238, allocations: 98.36 kB / 0.7729 GB, free: 158.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.0007735/0.7246, allocations: 436.4 kB / 0.7733 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/0.7249, allocations: 160.8 kB / 0.7735 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/0.7351, allocations: 3.717 MB / 0.7771 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.7351, allocations: 21.91 kB / 0.7771 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7351, allocations: 1.031 kB / 0.7771 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.7352, allocations: 15 kB / 0.7771 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.7375, allocations: 2.451 MB / 0.7795 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.7375, allocations: 0 / 0.7795 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/0.7407, allocations: 0.5634 MB / 0.7801 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004109/0.7411, allocations: 80.39 kB / 0.7801 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/0.7413, allocations: 75.3 kB / 0.7802 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.7427, allocations: 1.662 MB / 0.7818 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7427, allocations: 0 / 0.7818 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008291/0.751, allocations: 3.213 MB / 0.785 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/0.7517, allocations: 0.5485 MB / 0.7855 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000324/0.752, allocations: 43.62 kB / 0.7855 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/0.7546, allocations: 291.7 kB / 0.7858 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/0.7549, allocations: 149.8 kB / 0.786 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/0.7551, allocations: 91.41 kB / 0.7861 GB, free: 152 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006742/0.7557, allocations: 0.7034 MB / 0.7867 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7557, allocations: 0 / 0.7867 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001275/0.757, allocations: 0.6655 MB / 0.7874 GB, free: 151.4 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.009149/0.7662, allocations: 4.333 MB / 0.7916 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01065/0.7768, allocations: 3.643 MB / 0.7952 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7769, allocations: 4 kB / 0.7952 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003822/0.7807, allocations: 1.751 MB / 0.7969 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.7821, allocations: 411.5 kB / 0.7973 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03111/0.8132, allocations: 17.64 MB / 0.8145 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.8138, allocations: 1.43 MB / 0.8159 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002726/0.8165, allocations: 0.5824 MB / 0.8165 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/0.8178, allocations: 0.8779 MB / 0.8173 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.8178, allocations: 0 / 0.8173 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.129/2.947, allocations: 42.1 MB / 0.8585 GB, free: 79.74 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/2.947, allocations: 292.9 kB / 0.8587 GB, free: 79.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.681/6.629, allocations: 0 / 0.8587 GB, free: 79.36 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)