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.006242/0.006242, allocations: 100.9 kB / 15.73 MB, free: 6.477 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.001243/0.001243, allocations: 191.2 kB / 16.67 MB, free: 6.379 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8096/0.8096, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.84 kB / 0.5814 GB, free: 7.562 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.5129, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.003144/0.5161, allocations: 2.013 MB / 0.6616 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.5182, allocations: 1.525 MB / 0.6631 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.5184, allocations: 1.125 kB / 0.6631 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.5187, allocations: 48.06 kB / 0.6632 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.5191, allocations: 120 kB / 0.6633 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.5194, allocations: 104.7 kB / 0.6634 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.5199, allocations: 0.563 MB / 0.6639 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.993e-05/0.52, allocations: 17.38 kB / 0.664 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.5203, allocations: 200.5 kB / 0.6641 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.5206, allocations: 242.6 kB / 0.6644 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.992e-05/0.5206, allocations: 41.84 kB / 0.6644 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.5209, allocations: 120.1 kB / 0.6645 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.521, allocations: 181.1 kB / 0.6647 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.5212, allocations: 237.5 kB / 0.6649 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005211/0.5218, allocations: 0.6027 MB / 0.6655 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5218, allocations: 0 / 0.6655 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5218, allocations: 1.625 kB / 0.6655 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.5218, allocations: 0 / 0.6655 GB, free: 6.297 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.001022/0.5228, allocations: 0.8307 MB / 0.6663 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5229, allocations: 9.75 kB / 0.6663 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.523, allocations: 56.44 kB / 0.6664 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007386/0.5238, allocations: 0.5193 MB / 0.6669 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.5238, allocations: 28.28 kB / 0.6669 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.5239, allocations: 41.66 kB / 0.667 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007253/0.5246, allocations: 489.5 kB / 0.6674 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.5246, allocations: 0 / 0.6674 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.5247, allocations: 15.34 kB / 0.6675 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.5247, allocations: 8.625 kB / 0.6675 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/0.5274, allocations: 2.204 MB / 0.6696 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.5287, allocations: 0.9828 MB / 0.6706 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.5322, allocations: 1.449 MB / 0.672 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.5325, allocations: 166.9 kB / 0.6721 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.5325, allocations: 43.11 kB / 0.6722 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004572/0.533, allocations: 273.6 kB / 0.6724 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=48): time 2.334e-06/0.533, allocations: 0 / 0.6724 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.001408/0.5344, allocations: 0.7966 MB / 0.6732 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.5345, allocations: 86.89 kB / 0.6733 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.5349, allocations: 407.7 kB / 0.6737 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.535, allocations: 49.56 kB / 0.6737 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.5351, allocations: 235.7 kB / 0.674 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.5352, allocations: 179.4 kB / 0.6741 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.5354, allocations: 85.92 kB / 0.6742 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.5355, allocations: 360.2 kB / 0.6746 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.5357, allocations: 167.6 kB / 0.6747 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.536, allocations: 208.1 kB / 0.6749 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.5366, allocations: 382.7 kB / 0.6753 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5366, allocations: 5.25 kB / 0.6753 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001048/0.5377, allocations: 0.7892 MB / 0.6761 GB, free: 328 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5377, allocations: 9.703 kB / 0.6761 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5377, allocations: 1.031 kB / 0.6761 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.5377, allocations: 2.781 kB / 0.6761 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.5381, allocations: 89.92 kB / 0.6762 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.5381, allocations: 2.219 kB / 0.6762 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.5382, allocations: 34.5 kB / 0.6762 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.5382, allocations: 24.28 kB / 0.6762 GB, free: 272 kB / 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.0002028/0.5385, allocations: 212.6 kB / 0.6764 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.5385, allocations: 50.19 kB / 0.6765 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.5387, allocations: 87.61 kB / 0.6766 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.5387, allocations: 4.281 kB / 0.6766 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5387, allocations: 0 / 0.6766 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5387, allocations: 7.984 kB / 0.6766 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.5393, allocations: 0.491 MB / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5393, allocations: 0 / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.5395, allocations: 84.66 kB / 0.6771 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.5395, allocations: 2.75 kB / 0.6771 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.5396, allocations: 25.53 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5396, allocations: 2.75 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5396, allocations: 0 / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.5407, allocations: 0.7135 MB / 0.6779 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.5408, allocations: 118.1 kB / 0.678 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/0.5408, allocations: 23.42 kB / 0.678 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.541, allocations: 10.94 kB / 0.678 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.541, allocations: 41.45 kB / 0.678 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.5411, allocations: 21.55 kB / 0.6781 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003012/0.5414, allocations: 301.2 kB / 0.6783 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5414, allocations: 0 / 0.6783 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003994/0.5418, allocations: 110 kB / 0.6785 GB, free: 14.93 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.001153/0.543, allocations: 475.7 kB / 0.6789 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007254/0.5437, allocations: 417.2 kB / 0.6793 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5437, allocations: 4.062 kB / 0.6793 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.5441, allocations: 208.8 kB / 0.6795 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.5445, allocations: 70.91 kB / 0.6796 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.5459, allocations: 0.8405 MB / 0.6804 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.5464, allocations: 0.8672 MB / 0.6812 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003566/0.5468, allocations: 162.4 kB / 0.6814 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.547, allocations: 87.83 kB / 0.6815 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.547, allocations: 0 / 0.6815 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.01115/0.5581, allocations: 5.614 MB / 0.687 GB, free: 10.21 MB / 0.5137 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)