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.0009937/0.0009938, allocations: 103.2 kB / 16.27 MB, free: 6.004 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.0009719/0.0009719, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.188/1.188, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6934/0.6934, allocations: 122.9 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2819, allocations: 77.91 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005774/0.2877, allocations: 5.951 MB / 0.5731 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1312/0.4189, allocations: 150.8 MB / 0.7204 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.42, allocations: 15.94 kB / 0.7204 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007427/0.4208, allocations: 241.7 kB / 0.7206 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.4229, allocations: 0.6204 MB / 0.7212 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.4249, allocations: 0.8678 MB / 0.7221 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.4265, allocations: 1.638 MB / 0.7237 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.4276, allocations: 0.8696 MB / 0.7245 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007096/0.4283, allocations: 0.6073 MB / 0.7251 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006916/0.429, allocations: 0.6611 MB / 0.7258 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.4293, allocations: 160 kB / 0.7259 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008285/0.4301, allocations: 491.7 kB / 0.7264 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.4304, allocations: 382.7 kB / 0.7268 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006475/0.4311, allocations: 0.7307 MB / 0.7275 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.4328, allocations: 1.982 MB / 0.7294 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4328, allocations: 4 kB / 0.7294 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.444e-06/0.4329, allocations: 0 / 0.7294 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.4329, allocations: 3.938 kB / 0.7294 GB, free: 4.172 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.002428/0.4353, allocations: 1.72 MB / 0.7311 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4354, allocations: 8.625 kB / 0.7311 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.4355, allocations: 181.8 kB / 0.7313 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008884/0.4364, allocations: 223 kB / 0.7315 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/0.4374, allocations: 0.848 MB / 0.7323 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.4375, allocations: 94.34 kB / 0.7324 GB, free: 1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.4376, allocations: 120 kB / 0.7325 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.4393, allocations: 1.198 MB / 0.7337 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4393, allocations: 0 / 0.7337 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.4394, allocations: 48 kB / 0.7337 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.4395, allocations: 28 kB / 0.7338 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.4413, allocations: 1.285 MB / 0.735 GB, free: 14.25 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.004138/0.4455, allocations: 3.598 MB / 0.7385 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.4469, allocations: 0.8649 MB / 0.7394 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005377/0.4475, allocations: 322.7 kB / 0.7397 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-05/0.4475, allocations: 36.55 kB / 0.7397 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008433/0.4484, allocations: 0.5198 MB / 0.7402 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 2.214e-06/0.4484, allocations: 0 / 0.7402 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.003034/0.4514, allocations: 1.282 MB / 0.7415 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.4515, allocations: 188.9 kB / 0.7417 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007518/0.4523, allocations: 0.7353 MB / 0.7424 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/0.4524, allocations: 41.7 kB / 0.7424 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.4527, allocations: 0.527 MB / 0.7429 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.4529, allocations: 287.8 kB / 0.7432 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.4531, allocations: 162.5 kB / 0.7434 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.4532, allocations: 334 kB / 0.7437 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004789/0.4537, allocations: 265.9 kB / 0.7439 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/0.4543, allocations: 386.5 kB / 0.7443 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.4553, allocations: 0.6437 MB / 0.7449 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.4553, allocations: 112 / 0.7449 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001805/0.4571, allocations: 0.8798 MB / 0.7458 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4572, allocations: 7.938 kB / 0.7458 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.4572, allocations: 0 / 0.7458 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005684/0.4578, allocations: 80.86 kB / 0.7459 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/0.4584, allocations: 163.8 kB / 0.746 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.4603, allocations: 1.636 MB / 0.7476 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006649/0.461, allocations: 103.1 kB / 0.7477 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.4611, allocations: 31.98 kB / 0.7478 GB, free: 0.7031 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.0004007/0.4615, allocations: 293.5 kB / 0.748 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.4616, allocations: 94.88 kB / 0.7481 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2046/0.6662, allocations: 1.124 MB / 0.7492 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.6663, allocations: 10 kB / 0.7492 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6663, allocations: 0 / 0.7492 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.6663, allocations: 7.812 kB / 0.7492 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.6676, allocations: 1.055 MB / 0.7503 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6676, allocations: 0.9375 kB / 0.7503 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.6683, allocations: 153.5 kB / 0.7504 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/0.6687, allocations: 80.48 kB / 0.7505 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/0.6688, allocations: 30.14 kB / 0.7505 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.6703, allocations: 1.655 MB / 0.7521 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.6703, allocations: 0.8438 kB / 0.7521 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.6723, allocations: 0.9869 MB / 0.7531 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.6726, allocations: 289.5 kB / 0.7534 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.6727, allocations: 24.52 kB / 0.7534 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/0.6734, allocations: 60.28 kB / 0.7535 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.6735, allocations: 71.5 kB / 0.7535 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.6736, allocations: 40.38 kB / 0.7536 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006076/0.6742, allocations: 0.5226 MB / 0.7541 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6742, allocations: 0 / 0.7541 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008106/0.675, allocations: 392.3 kB / 0.7545 GB, free: 168.2 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.003346/0.6784, allocations: 2.023 MB / 0.7564 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002168/0.6806, allocations: 1.076 MB / 0.7575 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6806, allocations: 0 / 0.7575 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008462/0.6814, allocations: 0.5519 MB / 0.758 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.6826, allocations: 328.4 kB / 0.7583 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009377/0.692, allocations: 7.36 MB / 0.7655 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.6925, allocations: 1.115 MB / 0.7666 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008397/0.6934, allocations: 294.6 kB / 0.7669 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/0.6939, allocations: 480 kB / 0.7674 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.6939, allocations: 3.938 kB / 0.7674 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/0.7344, allocations: 23.84 MB / 0.7906 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.11, allocations: 3.375 kB / 0.7906 GB, free: 143.6 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_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_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)