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: translateModel(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=36746,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow") translateModel(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=36746,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 106.5 kB / 16.41 MB, free: 5.98 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.001092/0.001092, allocations: 194.3 kB / 17.35 MB, free: 5.574 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8036/0.8036, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.95 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2121, allocations: 80.22 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.004112/0.2163, allocations: 1.993 MB / 0.6623 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002709/0.219, allocations: 1.53 MB / 0.6638 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.2192, allocations: 8 kB / 0.6638 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.2197, allocations: 43.69 kB / 0.6638 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.2202, allocations: 107.3 kB / 0.6639 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.2207, allocations: 103.6 kB / 0.664 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006644/0.2214, allocations: 0.5625 MB / 0.6646 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.407e-05/0.2214, allocations: 20.28 kB / 0.6646 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.222, allocations: 199.4 kB / 0.6648 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.2224, allocations: 239.4 kB / 0.665 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.2226, allocations: 40 kB / 0.6651 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.2229, allocations: 123.9 kB / 0.6652 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.2231, allocations: 187.4 kB / 0.6654 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.2234, allocations: 242.5 kB / 0.6656 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008074/0.2242, allocations: 0.5955 MB / 0.6662 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2243, allocations: 3.984 kB / 0.6662 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2243, allocations: 0 / 0.6662 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.93e-05/0.2243, allocations: 0 / 0.6662 GB, free: 4.277 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.001411/0.2257, allocations: 0.8237 MB / 0.667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.2258, allocations: 12.03 kB / 0.667 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.2259, allocations: 56.28 kB / 0.667 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.2268, allocations: 0.522 MB / 0.6676 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.2269, allocations: 29.38 kB / 0.6676 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.2269, allocations: 32.12 kB / 0.6676 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.2277, allocations: 490 kB / 0.6681 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2277, allocations: 4 kB / 0.6681 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.2278, allocations: 16 kB / 0.6681 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.2278, allocations: 8 kB / 0.6681 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.2305, allocations: 2.201 MB / 0.6703 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.2319, allocations: 0.9845 MB / 0.6712 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.2352, allocations: 1.461 MB / 0.6726 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.2355, allocations: 166.1 kB / 0.6728 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-05/0.2355, allocations: 40.38 kB / 0.6728 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.236, allocations: 265.4 kB / 0.6731 GB, free: 13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 3.958e-06/0.236, allocations: 3.938 kB / 0.6731 GB, free: 13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.001377/0.2374, allocations: 0.8071 MB / 0.6739 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.2375, allocations: 85.53 kB / 0.674 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.238, allocations: 410 kB / 0.6744 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.238, allocations: 45.69 kB / 0.6744 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.2382, allocations: 232.7 kB / 0.6746 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.2384, allocations: 177.6 kB / 0.6748 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.2385, allocations: 86.11 kB / 0.6749 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2387, allocations: 362.7 kB / 0.6752 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.239, allocations: 168.8 kB / 0.6754 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.2393, allocations: 203.3 kB / 0.6756 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.2399, allocations: 386.4 kB / 0.6759 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2399, allocations: 4 kB / 0.6759 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001047/0.2409, allocations: 0.7847 MB / 0.6767 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.241, allocations: 9.406 kB / 0.6767 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.241, allocations: 4 kB / 0.6767 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.241, allocations: 3.938 kB / 0.6767 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.2413, allocations: 95.89 kB / 0.6768 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.2413, allocations: 0 / 0.6768 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.2415, allocations: 23.75 kB / 0.6768 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.2415, allocations: 20 kB / 0.6769 GB, free: 9.066 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.000244/0.2418, allocations: 210.5 kB / 0.6771 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.2419, allocations: 55.42 kB / 0.6771 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.242, allocations: 81.16 kB / 0.6772 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.2421, allocations: 8 kB / 0.6772 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.2421, allocations: 0 / 0.6772 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2421, allocations: 3.984 kB / 0.6772 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.2426, allocations: 0.4935 MB / 0.6777 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2426, allocations: 0 / 0.6777 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.2429, allocations: 83.91 kB / 0.6778 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2429, allocations: 11.94 kB / 0.6778 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.2429, allocations: 27.91 kB / 0.6778 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2429, allocations: 0 / 0.6778 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2429, allocations: 4 kB / 0.6778 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.2439, allocations: 0.7119 MB / 0.6785 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.244, allocations: 120.4 kB / 0.6786 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/0.2441, allocations: 23.98 kB / 0.6786 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.226e-05/0.2442, allocations: 16 kB / 0.6787 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.2443, allocations: 36.39 kB / 0.6787 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.2443, allocations: 19.98 kB / 0.6787 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002888/0.2446, allocations: 303.1 kB / 0.679 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2446, allocations: 0 / 0.679 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003692/0.245, allocations: 111.8 kB / 0.6791 GB, free: 6.672 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.001221/0.2463, allocations: 487.4 kB / 0.6796 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006968/0.247, allocations: 416.9 kB / 0.68 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.247, allocations: 0 / 0.68 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.2473, allocations: 210.4 kB / 0.6802 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.2477, allocations: 60.81 kB / 0.6802 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.2491, allocations: 0.8904 MB / 0.6811 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.2496, allocations: 0.8564 MB / 0.6819 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.2499, allocations: 95.39 kB / 0.682 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of SimCode: time 1.342e-06/0.2499, allocations: 0 / 0.682 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of Templates: time 0.01121/0.2611, allocations: 7.257 MB / 0.6891 GB, free: 12.64 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.makefile (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 & ./IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1)