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.00156/0.00156, allocations: 106.8 kB / 16.4 MB, free: 6.406 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.001039/0.001039, allocations: 193.2 kB / 17.34 MB, free: 5.695 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7005/0.7005, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 58.62 kB / 0.5679 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1179, allocations: 77.93 MB / 0.644 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008647/0.1266, allocations: 8.405 MB / 0.6522 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4241/0.5507, allocations: 151.8 MB / 0.8005 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.5519, allocations: 25.59 kB / 0.8005 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008289/0.5528, allocations: 329.6 kB / 0.8008 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.5551, allocations: 0.8608 MB / 0.8017 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.5576, allocations: 1.389 MB / 0.803 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003025/0.5607, allocations: 3 MB / 0.806 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.5624, allocations: 1.485 MB / 0.8074 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.564, allocations: 1.211 MB / 0.8086 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.5654, allocations: 1.345 MB / 0.8099 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004235/0.5658, allocations: 324.3 kB / 0.8102 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.567, allocations: 0.7029 MB / 0.8109 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.5675, allocations: 0.6983 MB / 0.8116 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.5686, allocations: 1.336 MB / 0.8129 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.5722, allocations: 3.676 MB / 0.8165 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.5722, allocations: 2.562 kB / 0.8165 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5723, allocations: 3.938 kB / 0.8165 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.54e-05/0.5723, allocations: 0 / 0.8165 GB, free: 6.941 MB / 0.5919 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.006164/0.5785, allocations: 2.903 MB / 0.8193 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5786, allocations: 11.06 kB / 0.8193 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003424/0.5789, allocations: 320.3 kB / 0.8196 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/0.5941, allocations: 2.121 MB / 0.8217 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.5966, allocations: 1.296 MB / 0.823 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.5967, allocations: 171.4 kB / 0.8231 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.5972, allocations: 221.9 kB / 0.8234 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008291/0.6055, allocations: 3.284 MB / 0.8266 GB, free: 468 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.6055, allocations: 2.188 kB / 0.8266 GB, free: 468 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.6058, allocations: 92.19 kB / 0.8267 GB, free: 396 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.6058, allocations: 55.12 kB / 0.8267 GB, free: 396 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.6179, allocations: 4.206 MB / 0.8308 GB, free: 14.36 MB / 0.6075 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.01549/0.6334, allocations: 8.043 MB / 0.8387 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008934/0.6424, allocations: 2.896 MB / 0.8415 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004343/0.6468, allocations: 1.485 MB / 0.8429 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/0.6475, allocations: 0.5135 MB / 0.8434 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005045/0.6526, allocations: 1.847 MB / 0.8453 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=213): time 3.977e-06/0.6526, allocations: 0 / 0.8453 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=213): time 0.01486/0.6675, allocations: 4.485 MB / 0.8496 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/0.6676, allocations: 201.9 kB / 0.8498 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.6689, allocations: 0.9413 MB / 0.8507 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003074/0.6692, allocations: 65.7 kB / 0.8508 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005524/0.6697, allocations: 0.764 MB / 0.8516 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006702/0.6704, allocations: 0.7151 MB / 0.8523 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006834/0.6711, allocations: 379.2 kB / 0.8526 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.6712, allocations: 304.9 kB / 0.8529 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004198/0.6754, allocations: 1.234 MB / 0.8541 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004388/0.6798, allocations: 1.445 MB / 0.8555 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008429/0.6883, allocations: 2.579 MB / 0.858 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.6883, allocations: 4 kB / 0.858 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01014/0.6984, allocations: 3.082 MB / 0.8611 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.6985, allocations: 5.719 kB / 0.8611 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6985, allocations: 7.625 kB / 0.8611 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.6991, allocations: 84.84 kB / 0.8611 GB, free: 500 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/0.7029, allocations: 0.5928 MB / 0.8617 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.7049, allocations: 1.634 MB / 0.8633 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/0.7081, allocations: 374.5 kB / 0.8637 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/0.7085, allocations: 95.89 kB / 0.8638 GB, free: 13.65 MB / 0.6387 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.001117/0.7096, allocations: 441.5 kB / 0.8642 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005372/0.7102, allocations: 159 kB / 0.8643 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.7219, allocations: 3.722 MB / 0.868 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.7219, allocations: 20 kB / 0.868 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.722, allocations: 0 / 0.868 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/0.722, allocations: 11.95 kB / 0.868 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.7252, allocations: 2.466 MB / 0.8704 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.7252, allocations: 0 / 0.8704 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003625/0.7289, allocations: 0.5578 MB / 0.871 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/0.7294, allocations: 84.72 kB / 0.871 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003003/0.7297, allocations: 75.84 kB / 0.8711 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.7315, allocations: 1.666 MB / 0.8727 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7315, allocations: 0 / 0.8727 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.7419, allocations: 3.223 MB / 0.8759 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.743, allocations: 0.5499 MB / 0.8764 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004859/0.7435, allocations: 55.83 kB / 0.8765 GB, free: 448 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/0.7465, allocations: 277.2 kB / 0.8767 GB, free: 172 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.7469, allocations: 145.8 kB / 0.8769 GB, free: 24 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/0.7471, allocations: 95.91 kB / 0.877 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001028/0.7482, allocations: 0.6958 MB / 0.8777 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7482, allocations: 0 / 0.8777 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001815/0.75, allocations: 0.679 MB / 0.8783 GB, free: 14.55 MB / 0.6544 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.01185/0.7619, allocations: 4.336 MB / 0.8825 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009816/0.7717, allocations: 3.127 MB / 0.8856 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.7717, allocations: 0 / 0.8856 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005163/0.7769, allocations: 1.763 MB / 0.8873 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.7791, allocations: 391.5 kB / 0.8877 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03945/0.8186, allocations: 15.91 MB / 0.9032 GB, free: 4.98 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.8197, allocations: 1.437 MB / 0.9046 GB, free: 3.512 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002928/0.8226, allocations: 0.5718 MB / 0.9052 GB, free: 2.934 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/0.8244, allocations: 0.8818 MB / 0.9061 GB, free: 2.051 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/0.8244, allocations: 4 kB / 0.9061 GB, free: 2.047 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07374/0.8982, allocations: 42.8 MB / 0.9479 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.25, allocations: 10.06 kB / 0.9479 GB, free: 7.578 MB / 0.7169 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)