Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u") translateModel(Annex60.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3617/0.3617, allocations: 54.41 MB / 61.88 MB, free: 13.71 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001404/0.001403, allocations: 176.2 kB / 75.61 MB, free: 0.7656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.789/1.789, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001733/0.001733, allocations: 109.6 kB / 341.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.211e-05, allocations: 4.219 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4802, allocations: 57.64 MB / 463.1 MB, free: 51.82 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.312/5.793, allocations: 2.145 GB / 2.597 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/5.793, allocations: 96.77 kB / 2.598 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.173/9.966, allocations: 0.9908 GB / 3.588 GB, free: 44.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.168e-06/9.966, allocations: 0 / 3.588 GB, free: 44.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005109/9.966, allocations: 48.64 kB / 3.588 GB, free: 44.02 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.008945/9.975, allocations: 2.214 MB / 3.591 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/9.975, allocations: 9.906 kB / 3.591 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004685/9.98, allocations: 0.5996 MB / 3.591 GB, free: 42.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00551/9.986, allocations: 1.602 MB / 3.593 GB, free: 42.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/9.986, allocations: 52.09 kB / 3.593 GB, free: 42.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005379/9.986, allocations: 84.5 kB / 3.593 GB, free: 42.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002908/9.989, allocations: 1.052 MB / 3.594 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/9.992, allocations: 1.305 MB / 3.595 GB, free: 42.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/9.992, allocations: 3.344 kB / 3.595 GB, free: 42.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/9.993, allocations: 3.594 kB / 3.595 GB, free: 42.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.415e-05/9.993, allocations: 56.25 kB / 3.595 GB, free: 42.19 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/10, allocations: 5.89 MB / 3.601 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/10, allocations: 0.8545 MB / 3.602 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/10, allocations: 389.6 kB / 3.602 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/10.01, allocations: 119.8 kB / 3.602 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/10.01, allocations: 0.5865 MB / 3.603 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=80): time 2.846e-06/10.01, allocations: 3.688 kB / 3.603 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=80): time 0.003304/10.01, allocations: 1.013 MB / 3.604 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/10.01, allocations: 476.6 kB / 3.604 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/10.01, allocations: 0.9704 MB / 3.605 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/10.01, allocations: 29.36 kB / 3.605 GB, free: 38.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007407/10.01, allocations: 0.8423 MB / 3.606 GB, free: 38.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/10.01, allocations: 270.5 kB / 3.606 GB, free: 37.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/10.01, allocations: 3.906 kB / 3.606 GB, free: 37.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001043/10.01, allocations: 343 kB / 3.607 GB, free: 37.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/10.01, allocations: 342.5 kB / 3.607 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/10.01, allocations: 0.649 MB / 3.608 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008294/10.01, allocations: 478.9 kB / 3.608 GB, free: 37.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/10.01, allocations: 0 / 3.608 GB, free: 37.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00256/10.02, allocations: 1.206 MB / 3.609 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000691/10.02, allocations: 2.148 MB / 3.611 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/10.02, allocations: 7.094 kB / 3.611 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/10.02, allocations: 59.42 kB / 3.611 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008572/10.02, allocations: 201.6 kB / 3.612 GB, free: 34.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004432/10.02, allocations: 0.5983 MB / 3.612 GB, free: 34.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/10.02, allocations: 146.2 kB / 3.612 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/10.02, allocations: 45.75 kB / 3.612 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/10.02, allocations: 2.781 kB / 3.612 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001719/10.02, allocations: 1.053 MB / 3.613 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/10.02, allocations: 3.188 kB / 3.613 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/10.02, allocations: 45.08 kB / 3.613 GB, free: 34.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/10.02, allocations: 188.2 kB / 3.614 GB, free: 34.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/10.03, allocations: 1.495 MB / 3.615 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/10.03, allocations: 126.2 kB / 3.615 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/10.03, allocations: 38.84 kB / 3.615 GB, free: 32.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (humSte.vol.i_w,humDyn.vol.i_w,$whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003057/10.03, allocations: 178 kB / 3.615 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/10.03, allocations: 156.1 kB / 3.616 GB, free: 32.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/10.03, allocations: 1.007 MB / 3.617 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/10.03, allocations: 7.656 kB / 3.617 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/10.03, allocations: 0 / 3.617 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001605/10.03, allocations: 0.9095 MB / 3.617 GB, free: 32.32 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/10.04, allocations: 2.599 MB / 3.62 GB, free: 31.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/10.04, allocations: 0 / 3.62 GB, free: 31.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007815/10.04, allocations: 155.4 kB / 3.62 GB, free: 31.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/10.04, allocations: 52.47 kB / 3.62 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/10.04, allocations: 17.22 kB / 3.62 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/10.04, allocations: 1.614 MB / 3.622 GB, free: 30.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/10.04, allocations: 7.906 kB / 3.622 GB, free: 30.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/10.04, allocations: 1.647 MB / 3.623 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008205/10.04, allocations: 353.5 kB / 3.624 GB, free: 29.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/10.04, allocations: 10.09 kB / 3.624 GB, free: 29.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/10.04, allocations: 92.33 kB / 3.624 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/10.04, allocations: 49.66 kB / 3.624 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/10.04, allocations: 29.78 kB / 3.624 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001369/10.05, allocations: 0.7376 MB / 3.625 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/10.05, allocations: 0 / 3.625 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004173/10.05, allocations: 1.005 MB / 3.626 GB, free: 29.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005077/10.05, allocations: 2.543 MB / 3.628 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003107/10.06, allocations: 1.89 MB / 3.63 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/10.06, allocations: 3.875 kB / 3.63 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007265/10.06, allocations: 0.5917 MB / 3.631 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/10.06, allocations: 0.6856 MB / 3.631 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/10.07, allocations: 2.513 MB / 3.634 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/10.07, allocations: 1.416 MB / 3.635 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002718/10.07, allocations: 479.2 kB / 3.636 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/10.07, allocations: 90.58 kB / 3.636 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of SimCode: time 3.516e-06/10.07, allocations: 0 / 3.636 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of Templates: time 0.07161/10.14, allocations: 40.75 MB / 3.675 GB, free: 15.3 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.sim & ./Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe 2>&1)