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.001232/0.001232, allocations: 103.8 kB / 16.37 MB, free: 6.441 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.00111/0.00111, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7984/0.7984, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001527, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4421, allocations: 80.19 MB / 0.5815 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.004054/0.4462, allocations: 2.011 MB / 0.5835 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.4486, allocations: 1.522 MB / 0.585 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.4489, allocations: 5.281 kB / 0.585 GB, free: 24.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.4493, allocations: 49.84 kB / 0.585 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.4499, allocations: 105.4 kB / 0.5851 GB, free: 24.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.4503, allocations: 106.1 kB / 0.5852 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006415/0.4509, allocations: 0.5575 MB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.451, allocations: 18.55 kB / 0.5858 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.4516, allocations: 197.5 kB / 0.586 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.4519, allocations: 245.2 kB / 0.5862 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.4521, allocations: 42.56 kB / 0.5862 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.4525, allocations: 116 kB / 0.5863 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.4527, allocations: 182.4 kB / 0.5865 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.453, allocations: 238.7 kB / 0.5867 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008753/0.4539, allocations: 0.6022 MB / 0.5873 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4539, allocations: 2.438 kB / 0.5873 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4539, allocations: 0 / 0.5873 GB, free: 23.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.193e-05/0.454, allocations: 0 / 0.5873 GB, free: 23.21 MB / 446.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.001552/0.4555, allocations: 0.825 MB / 0.5881 GB, free: 22.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4556, allocations: 12.19 kB / 0.5882 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.4558, allocations: 59.84 kB / 0.5882 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.4568, allocations: 0.5161 MB / 0.5887 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.4568, allocations: 26.84 kB / 0.5887 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.4569, allocations: 39.44 kB / 0.5888 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/0.4578, allocations: 493.9 kB / 0.5892 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4578, allocations: 1.094 kB / 0.5892 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.4578, allocations: 19.45 kB / 0.5893 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.4578, allocations: 8.125 kB / 0.5893 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.4601, allocations: 2.201 MB / 0.5914 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.4616, allocations: 0.9839 MB / 0.5924 GB, free: 18.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.4644, allocations: 1.446 MB / 0.5938 GB, free: 17.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.4646, allocations: 167.3 kB / 0.594 GB, free: 17.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.515e-05/0.4647, allocations: 36.39 kB / 0.594 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004156/0.4651, allocations: 274.7 kB / 0.5943 GB, free: 16.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=48): time 3.617e-06/0.4651, allocations: 0 / 0.5943 GB, free: 16.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.001217/0.4664, allocations: 0.8015 MB / 0.595 GB, free: 16.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.4664, allocations: 81.55 kB / 0.5951 GB, free: 16.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.4669, allocations: 417.9 kB / 0.5955 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.4669, allocations: 49.69 kB / 0.5956 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.467, allocations: 234 kB / 0.5958 GB, free: 15.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.4672, allocations: 173.7 kB / 0.5959 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.4673, allocations: 86.11 kB / 0.596 GB, free: 15.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.4674, allocations: 359.8 kB / 0.5964 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.4676, allocations: 165.7 kB / 0.5965 GB, free: 14.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.4679, allocations: 204.7 kB / 0.5967 GB, free: 14.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.4684, allocations: 391.1 kB / 0.5971 GB, free: 13.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4684, allocations: 0 / 0.5971 GB, free: 13.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009342/0.4693, allocations: 0.7855 MB / 0.5979 GB, free: 13.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4694, allocations: 4 kB / 0.5979 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4694, allocations: 4.594 kB / 0.5979 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.4694, allocations: 3.984 kB / 0.5979 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.4697, allocations: 96.72 kB / 0.598 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.4697, allocations: 3.984 kB / 0.598 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.4699, allocations: 32.84 kB / 0.598 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.47, allocations: 20 kB / 0.598 GB, free: 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.0002739/0.4702, allocations: 210.4 kB / 0.5982 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4704, allocations: 45 kB / 0.5983 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.4706, allocations: 98.59 kB / 0.5984 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.4706, allocations: 4 kB / 0.5984 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4706, allocations: 0 / 0.5984 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4706, allocations: 3.984 kB / 0.5984 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.4711, allocations: 0.4901 MB / 0.5989 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4712, allocations: 4.641 kB / 0.5989 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.4714, allocations: 91.91 kB / 0.5989 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.4714, allocations: 0.625 kB / 0.5989 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.4714, allocations: 19.98 kB / 0.599 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4715, allocations: 2.375 kB / 0.599 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.4715, allocations: 3.984 kB / 0.599 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.4724, allocations: 0.7119 MB / 0.5997 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.4725, allocations: 119 kB / 0.5998 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.4726, allocations: 20 kB / 0.5998 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.279e-05/0.4727, allocations: 15.98 kB / 0.5998 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.4728, allocations: 32.39 kB / 0.5998 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.4728, allocations: 27.92 kB / 0.5999 GB, free: 11.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002833/0.4731, allocations: 303.1 kB / 0.6002 GB, free: 10.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4731, allocations: 4.844 kB / 0.6002 GB, free: 10.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004187/0.4736, allocations: 115.7 kB / 0.6003 GB, free: 10.62 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.001331/0.4749, allocations: 476.2 kB / 0.6007 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007575/0.4757, allocations: 420.9 kB / 0.6011 GB, free: 9.961 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4757, allocations: 0 / 0.6011 GB, free: 9.961 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.476, allocations: 206.4 kB / 0.6013 GB, free: 9.758 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.4764, allocations: 63.12 kB / 0.6014 GB, free: 9.699 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.4778, allocations: 0.8363 MB / 0.6022 GB, free: 8.844 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.4782, allocations: 0.8619 MB / 0.603 GB, free: 7.953 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.4785, allocations: 158.5 kB / 0.6032 GB, free: 7.809 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.4787, allocations: 89.7 kB / 0.6033 GB, free: 7.723 MB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4787, allocations: 3.938 kB / 0.6033 GB, free: 7.719 MB / 446.1 MB Notification: Performance of Templates: time 0.009997/0.4887, allocations: 5.586 MB / 0.6087 GB, free: 2.277 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1)