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.006958/0.006958, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.00136/0.00136, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8941/0.8941, allocations: 135.6 MB / 426.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.45 kB / 0.5857 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1987, allocations: 81.02 MB / 0.6649 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.003667/0.2024, allocations: 2.009 MB / 0.6668 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.205, allocations: 1.518 MB / 0.6683 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.2052, allocations: 4 kB / 0.6683 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.2056, allocations: 51.62 kB / 0.6684 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.2059, allocations: 111.3 kB / 0.6685 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.2063, allocations: 106.3 kB / 0.6686 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006024/0.2069, allocations: 0.5508 MB / 0.6691 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.038e-05/0.2069, allocations: 28.23 kB / 0.6691 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.2073, allocations: 195.4 kB / 0.6693 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.2076, allocations: 239.4 kB / 0.6696 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.298e-05/0.2077, allocations: 48 kB / 0.6696 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.2079, allocations: 108 kB / 0.6697 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.2081, allocations: 183.4 kB / 0.6699 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.2084, allocations: 238.5 kB / 0.6701 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.2091, allocations: 0.6108 MB / 0.6707 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2091, allocations: 0 / 0.6707 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2091, allocations: 0 / 0.6707 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.2092, allocations: 0 / 0.6707 GB, free: 15.61 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001245/0.2104, allocations: 0.8386 MB / 0.6715 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.2105, allocations: 13.11 kB / 0.6715 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.2106, allocations: 78.72 kB / 0.6716 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.2107, allocations: 64.52 kB / 0.6717 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009095/0.2116, allocations: 0.5147 MB / 0.6722 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.2117, allocations: 29.38 kB / 0.6722 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.2117, allocations: 35.92 kB / 0.6722 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.2125, allocations: 490 kB / 0.6727 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2126, allocations: 0 / 0.6727 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/0.2126, allocations: 20 kB / 0.6727 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.2126, allocations: 8 kB / 0.6727 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002874/0.2155, allocations: 2.208 MB / 0.6749 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.217, allocations: 0.9849 MB / 0.6758 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/0.2204, allocations: 1.467 MB / 0.6773 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.2207, allocations: 170 kB / 0.6774 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7e-05/0.2207, allocations: 32.41 kB / 0.6775 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000515/0.2213, allocations: 269.3 kB / 0.6777 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 3.507e-06/0.2213, allocations: 0 / 0.6777 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.001454/0.2227, allocations: 0.8074 MB / 0.6785 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.2228, allocations: 81.55 kB / 0.6786 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.2233, allocations: 417.9 kB / 0.679 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.2234, allocations: 45.69 kB / 0.679 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.2236, allocations: 233 kB / 0.6793 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.2238, allocations: 182.6 kB / 0.6794 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.2239, allocations: 82.12 kB / 0.6795 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.2241, allocations: 366.7 kB / 0.6799 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.2244, allocations: 164.8 kB / 0.68 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.2247, allocations: 207.3 kB / 0.6802 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.2254, allocations: 382.4 kB / 0.6806 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2254, allocations: 4 kB / 0.6806 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001132/0.2265, allocations: 0.7888 MB / 0.6814 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2266, allocations: 4 kB / 0.6814 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2266, allocations: 4.062 kB / 0.6814 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2266, allocations: 7.984 kB / 0.6814 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.2269, allocations: 91.91 kB / 0.6815 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2269, allocations: 3.984 kB / 0.6815 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.2271, allocations: 27.8 kB / 0.6815 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.2271, allocations: 23.94 kB / 0.6815 GB, free: 4.262 MB / 0.5137 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.0002757/0.2274, allocations: 209.6 kB / 0.6817 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.2275, allocations: 47.72 kB / 0.6818 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.2277, allocations: 89.14 kB / 0.6818 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.2277, allocations: 8 kB / 0.6818 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2277, allocations: 0 / 0.6818 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.2277, allocations: 3.984 kB / 0.6819 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.2283, allocations: 0.4936 MB / 0.6823 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2283, allocations: 0 / 0.6823 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.2285, allocations: 91.83 kB / 0.6824 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.2285, allocations: 4 kB / 0.6824 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.2286, allocations: 27.98 kB / 0.6825 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2286, allocations: 0 / 0.6825 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2286, allocations: 3.984 kB / 0.6825 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.2297, allocations: 0.7082 MB / 0.6831 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/0.2298, allocations: 128.7 kB / 0.6833 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/0.2299, allocations: 20 kB / 0.6833 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.23, allocations: 15.98 kB / 0.6833 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.2301, allocations: 44.33 kB / 0.6833 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.2301, allocations: 19.98 kB / 0.6834 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003486/0.2305, allocations: 303.1 kB / 0.6837 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2305, allocations: 0 / 0.6837 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003939/0.2309, allocations: 115.8 kB / 0.6838 GB, free: 1.855 MB / 0.5137 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.003003/0.2339, allocations: 1.622 MB / 0.6854 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007853/0.2347, allocations: 413 kB / 0.6857 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2347, allocations: 0 / 0.6857 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.2351, allocations: 210.3 kB / 0.6859 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.2355, allocations: 71.83 kB / 0.686 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/0.2412, allocations: 4.291 MB / 0.6902 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.2418, allocations: 0.8642 MB / 0.691 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003535/0.2422, allocations: 158.4 kB / 0.6912 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.2426, allocations: 219.3 kB / 0.6914 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of SimCode: time 1.442e-06/0.2426, allocations: 0 / 0.6914 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06318/0.3058, allocations: 10.37 MB / 0.7015 GB, free: 15.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.255/9.561, allocations: 12 kB / 0.7015 GB, free: 15.89 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow_fmu --startTime=1.5e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow.fmu > IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1)