Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,fileNamePrefix="IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,fileNamePrefix="IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow",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.04247/0.04247, allocations: 108 kB / 15.61 MB, free: 152 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.002459/0.002459, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.106/2.106, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.38/1.38, allocations: 132.2 MB / 422.6 MB, free: 1.816 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 64.19 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6186/0.6202, allocations: 80.2 MB / 0.5802 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.0042/0.6244, allocations: 2.014 MB / 0.5822 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.6279, allocations: 1.525 MB / 0.5837 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.6281, allocations: 5.125 kB / 0.5837 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.6286, allocations: 48.72 kB / 0.5837 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004992/0.6291, allocations: 107.9 kB / 0.5838 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.6296, allocations: 106.3 kB / 0.5839 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.631, allocations: 0.5566 MB / 0.5845 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.6311, allocations: 15.25 kB / 0.5845 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.6328, allocations: 196.6 kB / 0.5847 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005379/0.6333, allocations: 250.6 kB / 0.5849 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.6335, allocations: 45.75 kB / 0.5849 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.6339, allocations: 115 kB / 0.585 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.6342, allocations: 183.8 kB / 0.5852 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.6345, allocations: 231.9 kB / 0.5854 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.6356, allocations: 0.5885 MB / 0.586 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6356, allocations: 1.125 kB / 0.586 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6356, allocations: 0 / 0.586 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.6356, allocations: 0 / 0.586 GB, free: 0.9727 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.005169/0.6408, allocations: 0.8298 MB / 0.5868 GB, free: 336 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.968e-05/0.6409, allocations: 17.19 kB / 0.5868 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.641, allocations: 72.7 kB / 0.5869 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.6413, allocations: 60.88 kB / 0.587 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.6428, allocations: 0.518 MB / 0.5875 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000399/0.6432, allocations: 27.91 kB / 0.5875 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.6433, allocations: 38.62 kB / 0.5875 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.6452, allocations: 492.7 kB / 0.588 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003055/0.6455, allocations: 4 kB / 0.588 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.6456, allocations: 12.09 kB / 0.588 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.6456, allocations: 9.062 kB / 0.588 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004555/0.6502, allocations: 2.207 MB / 0.5902 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.6531, allocations: 0.9864 MB / 0.5912 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/0.6575, allocations: 1.434 MB / 0.5926 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.6578, allocations: 175.3 kB / 0.5927 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/0.6584, allocations: 31.8 kB / 0.5928 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/0.6597, allocations: 280.4 kB / 0.593 GB, free: 14.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=48): time 3.997e-06/0.6598, allocations: 0 / 0.593 GB, free: 14.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.002609/0.6624, allocations: 0.7967 MB / 0.5938 GB, free: 13.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.6625, allocations: 82.55 kB / 0.5939 GB, free: 13.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.6632, allocations: 412.9 kB / 0.5943 GB, free: 13.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/0.6633, allocations: 53.03 kB / 0.5943 GB, free: 13.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.6635, allocations: 232.6 kB / 0.5945 GB, free: 13.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.6637, allocations: 170.6 kB / 0.5947 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.6638, allocations: 85.91 kB / 0.5948 GB, free: 13.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.664, allocations: 364.3 kB / 0.5951 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.6644, allocations: 160.6 kB / 0.5953 GB, free: 12.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.6647, allocations: 218.7 kB / 0.5955 GB, free: 12.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.6655, allocations: 388.2 kB / 0.5959 GB, free: 12.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6655, allocations: 0 / 0.5959 GB, free: 12.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001504/0.667, allocations: 0.7898 MB / 0.5966 GB, free: 12.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.667, allocations: 5.375 kB / 0.5966 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6671, allocations: 1.219 kB / 0.5966 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.6674, allocations: 1.406 kB / 0.5966 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.6678, allocations: 94.98 kB / 0.5967 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.6678, allocations: 7 kB / 0.5967 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.668, allocations: 34.3 kB / 0.5968 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.668, allocations: 14.56 kB / 0.5968 GB, free: 12.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.CONTAMdata.nextTimeEvent,$whenCondition1,CONTAMdata.nextTimeEventScaled,$PRE.CONTAMdata.nextTimeEventScaled,CONTAMdata.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004486/0.6685, allocations: 218.2 kB / 0.597 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.6686, allocations: 44.88 kB / 0.597 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.6688, allocations: 87.11 kB / 0.5971 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.6688, allocations: 9.625 kB / 0.5971 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.6688, allocations: 3.938 kB / 0.5971 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.6688, allocations: 0 / 0.5971 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.6695, allocations: 0.4987 MB / 0.5976 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6695, allocations: 0 / 0.5976 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.6698, allocations: 84.8 kB / 0.5977 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.6698, allocations: 2.594 kB / 0.5977 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.6699, allocations: 22.11 kB / 0.5977 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.6699, allocations: 2.781 kB / 0.5977 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6699, allocations: 0 / 0.5977 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.6711, allocations: 0.7136 MB / 0.5984 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.6713, allocations: 117.7 kB / 0.5985 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.507e-05/0.6714, allocations: 19 kB / 0.5986 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.6715, allocations: 11.17 kB / 0.5986 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/0.6719, allocations: 37.33 kB / 0.5986 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.672, allocations: 25.08 kB / 0.5986 GB, free: 11.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00046/0.6725, allocations: 305.5 kB / 0.5989 GB, free: 10.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6725, allocations: 7.938 kB / 0.5989 GB, free: 10.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005156/0.673, allocations: 118.8 kB / 0.599 GB, free: 10.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,CONTAMdata.nextTimeEvent,CONTAMdata.nextTimeEventScaled) * Number of discrete states: 2 (CONTAMdata.nextTimeEventScaled,CONTAMdata.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00416/0.6772, allocations: 1.61 MB / 0.6006 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.6792, allocations: 448.7 kB / 0.601 GB, free: 9.695 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.6793, allocations: 0 / 0.601 GB, free: 9.695 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.6797, allocations: 204.7 kB / 0.6012 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.6803, allocations: 58.69 kB / 0.6013 GB, free: 9.582 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0071/0.6874, allocations: 4.333 MB / 0.6055 GB, free: 6.992 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.688, allocations: 0.8587 MB / 0.6064 GB, free: 6.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005547/0.6886, allocations: 164 kB / 0.6065 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.689, allocations: 224 kB / 0.6067 GB, free: 5.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/0.689, allocations: 0 / 0.6067 GB, free: 5.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/0.8271, allocations: 10.17 MB / 0.6167 GB, free: 12.16 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.351/10.18, allocations: 6.688 kB / 0.6167 GB, free: 12.16 MB / 462.1 MB (rm -f IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; mkfifo IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe >> ../files/IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow_res.csv --start-time 1.5e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900.016 IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow.fmu > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1)