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.0008777/0.0008778, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.347/1.347, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6686/0.6686, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002837, allocations: 8 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005833/0.1551, allocations: 5.414 MB / 0.562 GB, free: 6.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4369/0.592, allocations: 128.6 MB / 0.6876 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.5934, allocations: 23.88 kB / 0.6876 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.5939, allocations: 122.8 kB / 0.6877 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.5964, allocations: 0.6534 MB / 0.6883 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.5997, allocations: 0.9787 MB / 0.6893 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002879/0.6026, allocations: 1.515 MB / 0.6908 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.6045, allocations: 1.185 MB / 0.6919 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.6058, allocations: 0.7741 MB / 0.6927 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.6068, allocations: 0.8552 MB / 0.6935 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.607, allocations: 64 kB / 0.6936 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009549/0.6079, allocations: 367.6 kB / 0.6939 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004037/0.6083, allocations: 386.3 kB / 0.6943 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003695/0.6087, allocations: 388.5 kB / 0.6947 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.6115, allocations: 2.593 MB / 0.6972 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6115, allocations: 0 / 0.6972 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6116, allocations: 0 / 0.6972 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.878e-05/0.6116, allocations: 0 / 0.6972 GB, free: 9.93 MB / 0.5137 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.005834/0.6175, allocations: 2.305 MB / 0.6994 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.6175, allocations: 15.97 kB / 0.6995 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004583/0.618, allocations: 320.6 kB / 0.6998 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/0.635, allocations: 2.298 MB / 0.702 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/0.6382, allocations: 1.231 MB / 0.7032 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.6384, allocations: 168.5 kB / 0.7034 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005042/0.6389, allocations: 220 kB / 0.7036 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.6494, allocations: 3.317 MB / 0.7068 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.993e-05/0.6495, allocations: 0 / 0.7068 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003857/0.6499, allocations: 92 kB / 0.7069 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.6499, allocations: 56 kB / 0.707 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/0.6647, allocations: 4.33 MB / 0.7112 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01693/0.6817, allocations: 7.35 MB / 0.7184 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008623/0.6903, allocations: 2.904 MB / 0.7212 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00081/0.6912, allocations: 0.5035 MB / 0.7217 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005433/0.6966, allocations: 1.84 MB / 0.7235 GB, free: 14.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=213): time 3.377e-06/0.6967, allocations: 0 / 0.7235 GB, free: 14.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=213): time 0.0144/0.7111, allocations: 4.491 MB / 0.7279 GB, free: 10.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.7112, allocations: 201.9 kB / 0.7281 GB, free: 9.777 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.7127, allocations: 0.9334 MB / 0.729 GB, free: 8.824 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005085/0.7132, allocations: 65.7 kB / 0.7291 GB, free: 8.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006628/0.7139, allocations: 0.7504 MB / 0.7298 GB, free: 7.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007271/0.7146, allocations: 0.6776 MB / 0.7304 GB, free: 7.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.7148, allocations: 36 kB / 0.7305 GB, free: 7.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.715, allocations: 373.9 kB / 0.7308 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004087/0.7191, allocations: 1.241 MB / 0.732 GB, free: 5.656 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004287/0.7234, allocations: 1.429 MB / 0.7334 GB, free: 4.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/0.7279, allocations: 1.271 MB / 0.7347 GB, free: 2.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.7279, allocations: 0 / 0.7347 GB, free: 2.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01128/0.7392, allocations: 3.089 MB / 0.7377 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.7393, allocations: 4 kB / 0.7377 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.7393, allocations: 4 kB / 0.7377 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/0.7399, allocations: 88.83 kB / 0.7378 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003872/0.7438, allocations: 0.6006 MB / 0.7384 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.7464, allocations: 1.533 MB / 0.7399 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/0.7502, allocations: 382.1 kB / 0.7402 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007178/0.751, allocations: 95.89 kB / 0.7403 GB, free: 12.98 MB / 0.5606 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002004/0.753, allocations: 443.9 kB / 0.7408 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008187/0.7538, allocations: 154.1 kB / 0.7409 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.7668, allocations: 3.743 MB / 0.7446 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.7669, allocations: 24 kB / 0.7446 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.7669, allocations: 0 / 0.7446 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.986e-05/0.767, allocations: 15.94 kB / 0.7446 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/0.771, allocations: 2.452 MB / 0.747 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/0.7711, allocations: 0 / 0.747 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003882/0.7749, allocations: 0.5695 MB / 0.7475 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005627/0.7755, allocations: 88.77 kB / 0.7476 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004437/0.776, allocations: 75.91 kB / 0.7477 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.7779, allocations: 1.571 MB / 0.7492 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7779, allocations: 0 / 0.7492 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.7885, allocations: 3.226 MB / 0.7524 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.79, allocations: 0.5762 MB / 0.753 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005923/0.7906, allocations: 44 kB / 0.753 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00316/0.7937, allocations: 292.7 kB / 0.7533 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004244/0.7942, allocations: 149.8 kB / 0.7534 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003697/0.7946, allocations: 95.91 kB / 0.7535 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001407/0.796, allocations: 0.688 MB / 0.7542 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.11e-07/0.796, allocations: 4 kB / 0.7542 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002322/0.7983, allocations: 0.6349 MB / 0.7548 GB, free: 13.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01312/0.8115, allocations: 4.339 MB / 0.759 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009884/0.8214, allocations: 3.135 MB / 0.7621 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.8215, allocations: 4 kB / 0.7621 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004987/0.8264, allocations: 1.767 MB / 0.7638 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.8283, allocations: 294.6 kB / 0.7641 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/0.8653, allocations: 13.71 MB / 0.7775 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.8667, allocations: 1.473 MB / 0.7789 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004161/0.8709, allocations: 0.5754 MB / 0.7795 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/0.8729, allocations: 0.8622 MB / 0.7803 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of SimCode: time 1.633e-06/0.8729, allocations: 0 / 0.7803 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08369/0.9566, allocations: 41.67 MB / 0.821 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.9569, allocations: 269.8 kB / 0.8213 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.391/4.347, allocations: 0 / 0.8213 GB, free: 9.875 MB / 0.6387 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/linux/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) Environment - environmentSimulation: