Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,fileNamePrefix="IDEAS_dev_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,fileNamePrefix="IDEAS_dev_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.001434/0.001434, 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.001764/0.001764, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.61/1.61, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.065/1.065, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001493, allocations: 64.34 kB / 0.5055 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1958, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.004307/0.2002, allocations: 2.009 MB / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.2027, allocations: 1.514 MB / 0.5879 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.2029, allocations: 3.938 kB / 0.5879 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.2033, allocations: 47.69 kB / 0.588 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.2038, allocations: 111.3 kB / 0.5881 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.2042, allocations: 110.9 kB / 0.5882 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005898/0.2048, allocations: 0.5508 MB / 0.5887 GB, free: 104 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.2049, allocations: 28.27 kB / 0.5887 GB, free: 76 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.2054, allocations: 195.5 kB / 0.5889 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000357/0.2057, allocations: 243.3 kB / 0.5892 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.2058, allocations: 40 kB / 0.5892 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.2061, allocations: 120 kB / 0.5893 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.2063, allocations: 191.3 kB / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.2066, allocations: 230.5 kB / 0.5897 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007471/0.2073, allocations: 0.5919 MB / 0.5903 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2073, allocations: 0 / 0.5903 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2074, allocations: 0 / 0.5903 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.2074, allocations: 0 / 0.5903 GB, free: 14.48 MB / 0.4981 GB 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.00132/0.2087, allocations: 0.8234 MB / 0.5911 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2088, allocations: 12.03 kB / 0.5911 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.2089, allocations: 74.72 kB / 0.5912 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.209, allocations: 68.17 kB / 0.5912 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008535/0.2099, allocations: 0.5142 MB / 0.5917 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.2099, allocations: 29.36 kB / 0.5918 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.21, allocations: 35.94 kB / 0.5918 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/0.2108, allocations: 486 kB / 0.5923 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2108, allocations: 0 / 0.5923 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.2108, allocations: 19.98 kB / 0.5923 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.2109, allocations: 8 kB / 0.5923 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.2135, allocations: 2.208 MB / 0.5945 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.2149, allocations: 0.9847 MB / 0.5954 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/0.2182, allocations: 1.444 MB / 0.5968 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.2185, allocations: 170.1 kB / 0.597 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-05/0.2186, allocations: 36.39 kB / 0.597 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005533/0.2192, allocations: 277.2 kB / 0.5973 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=48): time 2.325e-06/0.2192, allocations: 0 / 0.5973 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.001326/0.2205, allocations: 0.8032 MB / 0.5981 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.2206, allocations: 81.55 kB / 0.5981 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.221, allocations: 413.9 kB / 0.5985 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.2211, allocations: 49.69 kB / 0.5986 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.2213, allocations: 228.7 kB / 0.5988 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.2214, allocations: 173.8 kB / 0.599 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.2216, allocations: 90.11 kB / 0.5991 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2217, allocations: 362.7 kB / 0.5994 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.222, allocations: 164.8 kB / 0.5996 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.2223, allocations: 203.3 kB / 0.5998 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/0.2229, allocations: 390.4 kB / 0.6001 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2229, allocations: 3.938 kB / 0.6001 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001064/0.224, allocations: 0.7885 MB / 0.6009 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.224, allocations: 7.984 kB / 0.6009 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.224, allocations: 0 / 0.6009 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.224, allocations: 4 kB / 0.6009 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.2243, allocations: 99.83 kB / 0.601 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.2244, allocations: 0 / 0.601 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.2245, allocations: 27.69 kB / 0.601 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.2245, allocations: 20 kB / 0.6011 GB, free: 3.184 MB / 0.4981 GB 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.0002379/0.2248, allocations: 215.9 kB / 0.6013 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-05/0.2249, allocations: 47.44 kB / 0.6013 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.2251, allocations: 89.14 kB / 0.6014 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.2251, allocations: 8 kB / 0.6014 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.2251, allocations: 0 / 0.6014 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.2251, allocations: 3.984 kB / 0.6014 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.2256, allocations: 0.4974 MB / 0.6019 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2256, allocations: 0 / 0.6019 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.2258, allocations: 83.91 kB / 0.602 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2258, allocations: 4 kB / 0.602 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.2259, allocations: 23.97 kB / 0.602 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.2259, allocations: 4 kB / 0.602 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2259, allocations: 3.938 kB / 0.602 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/0.2269, allocations: 0.7042 MB / 0.6027 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.227, allocations: 128.4 kB / 0.6028 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/0.2271, allocations: 23.98 kB / 0.6028 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.2272, allocations: 4 kB / 0.6028 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.2273, allocations: 40.39 kB / 0.6029 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.2273, allocations: 23.98 kB / 0.6029 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003026/0.2276, allocations: 299.1 kB / 0.6032 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2277, allocations: 4 kB / 0.6032 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004033/0.2281, allocations: 111.8 kB / 0.6033 GB, free: 0.7891 MB / 0.4981 GB 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.4048/0.6328, allocations: 1.61 MB / 0.6049 GB, free: 52.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.6341, allocations: 445.9 kB / 0.6053 GB, free: 52.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6342, allocations: 0 / 0.6053 GB, free: 52.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.6346, allocations: 211.1 kB / 0.6055 GB, free: 52.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.6351, allocations: 72.7 kB / 0.6056 GB, free: 52.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005254/0.6403, allocations: 4.323 MB / 0.6098 GB, free: 51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.6407, allocations: 0.8625 MB / 0.6106 GB, free: 50.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003285/0.641, allocations: 163.1 kB / 0.6108 GB, free: 50.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.6413, allocations: 225.1 kB / 0.611 GB, free: 50.12 MB / 0.4981 GB Notification: Performance of SimCode: time 1.302e-06/0.6414, allocations: 0 / 0.611 GB, free: 50.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04936/0.6907, allocations: 10.16 MB / 0.6209 GB, free: 49.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/9.124, allocations: 14.89 kB / 0.6209 GB, free: 49.02 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe >> ../files/IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow.fmu > IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1)