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.001019/0.001019, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001017/0.001017, allocations: 192 kB / 17.2 MB, free: 5.598 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.202/1.202, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6952/0.6952, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3181, allocations: 77.93 MB / 0.5673 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007245/0.3254, allocations: 8.385 MB / 0.5755 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1379/0.4633, allocations: 151.9 MB / 0.7238 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.4649, allocations: 23.88 kB / 0.7238 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.4661, allocations: 324.6 kB / 0.7241 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.469, allocations: 0.8551 MB / 0.7249 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.4719, allocations: 1.376 MB / 0.7263 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003205/0.4751, allocations: 2.982 MB / 0.7292 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.477, allocations: 1.488 MB / 0.7306 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.4784, allocations: 1.192 MB / 0.7318 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.4798, allocations: 1.331 MB / 0.7331 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000394/0.4802, allocations: 328 kB / 0.7334 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.4813, allocations: 0.6792 MB / 0.7341 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005109/0.4818, allocations: 0.6971 MB / 0.7348 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009837/0.4828, allocations: 1.338 MB / 0.7361 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.4857, allocations: 3.587 MB / 0.7396 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4857, allocations: 0 / 0.7396 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4857, allocations: 0 / 0.7396 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.692e-05/0.4857, allocations: 0 / 0.7396 GB, free: 9.621 MB / 0.5762 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.005121/0.4909, allocations: 2.831 MB / 0.7423 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.4909, allocations: 8.625 kB / 0.7423 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003245/0.4912, allocations: 316.9 kB / 0.7426 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/0.506, allocations: 2.116 MB / 0.7447 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.5077, allocations: 1.266 MB / 0.7459 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.5078, allocations: 172.5 kB / 0.7461 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.5081, allocations: 220 kB / 0.7463 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2111/0.7192, allocations: 3.271 MB / 0.7495 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.7193, allocations: 2.5 kB / 0.7495 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/0.7196, allocations: 93.53 kB / 0.7496 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/0.7196, allocations: 54.66 kB / 0.7497 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.732, allocations: 4.2 MB / 0.7538 GB, free: 167.2 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.01338/0.7454, allocations: 8.109 MB / 0.7617 GB, free: 163 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008158/0.7536, allocations: 2.888 MB / 0.7645 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003839/0.7574, allocations: 1.494 MB / 0.766 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.758, allocations: 0.5061 MB / 0.7665 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004347/0.7624, allocations: 1.838 MB / 0.7682 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 3.396e-06/0.7624, allocations: 0 / 0.7682 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.01354/0.776, allocations: 4.469 MB / 0.7726 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.776, allocations: 207.6 kB / 0.7728 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.7771, allocations: 0.951 MB / 0.7737 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.7773, allocations: 62.83 kB / 0.7738 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.7777, allocations: 0.7502 MB / 0.7745 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/0.7781, allocations: 0.6797 MB / 0.7752 GB, free: 155 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006196/0.7787, allocations: 377 kB / 0.7756 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.023e-05/0.7787, allocations: 302.2 kB / 0.7758 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003802/0.7825, allocations: 1.239 MB / 0.7771 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/0.7863, allocations: 1.436 MB / 0.7785 GB, free: 153 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007303/0.7936, allocations: 2.586 MB / 0.781 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7936, allocations: 0 / 0.781 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008588/0.8022, allocations: 3.072 MB / 0.784 GB, free: 149 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8022, allocations: 8 kB / 0.784 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.8022, allocations: 3.938 kB / 0.784 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.8028, allocations: 84.83 kB / 0.7841 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/0.806, allocations: 0.5928 MB / 0.7847 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.8076, allocations: 1.644 MB / 0.7863 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.8104, allocations: 363.2 kB / 0.7866 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.8105, allocations: 95.89 kB / 0.7867 GB, free: 146.1 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.0006854/0.8112, allocations: 444.4 kB / 0.7871 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.8116, allocations: 150.1 kB / 0.7873 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009869/0.8214, allocations: 3.717 MB / 0.7909 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.8215, allocations: 28.05 kB / 0.7909 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8215, allocations: 7.938 kB / 0.7909 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.8215, allocations: 11.95 kB / 0.7909 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.8235, allocations: 2.466 MB / 0.7933 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.8235, allocations: 0 / 0.7933 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/0.8266, allocations: 0.5578 MB / 0.7939 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000393/0.827, allocations: 76.78 kB / 0.794 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.8272, allocations: 71.91 kB / 0.794 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.8286, allocations: 1.674 MB / 0.7957 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8286, allocations: 0 / 0.7957 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008439/0.837, allocations: 3.214 MB / 0.7988 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000626/0.8376, allocations: 0.5374 MB / 0.7993 GB, free: 133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/0.838, allocations: 47.91 kB / 0.7994 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002625/0.8406, allocations: 278.2 kB / 0.7996 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.8408, allocations: 153.7 kB / 0.7998 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.841, allocations: 91.91 kB / 0.7999 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000657/0.8417, allocations: 0.7036 MB / 0.8006 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8417, allocations: 0 / 0.8006 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001236/0.8429, allocations: 0.6725 MB / 0.8012 GB, free: 131 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.009815/0.8528, allocations: 4.31 MB / 0.8054 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01148/0.8643, allocations: 3.643 MB / 0.809 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8643, allocations: 0 / 0.809 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004189/0.8685, allocations: 1.759 MB / 0.8107 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.8699, allocations: 401.3 kB / 0.8111 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/0.9006, allocations: 16.72 MB / 0.8274 GB, free: 104 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/0.9013, allocations: 1.427 MB / 0.8288 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002955/0.9043, allocations: 0.5818 MB / 0.8294 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/0.9056, allocations: 0.8818 MB / 0.8302 GB, free: 101 MB / 0.5762 GB Notification: Performance of SimCode: time 7.22e-07/0.9056, allocations: 0 / 0.8302 GB, free: 101 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05623/0.9618, allocations: 42.37 MB / 0.8716 GB, free: 59.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.79, allocations: 6.641 kB / 0.8716 GB, free: 59.05 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 & 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)