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.2742/0.2742, allocations: 54.33 MB / 66.89 MB, free: 6.09 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.001154/0.001154, allocations: 183.3 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.509/1.509, allocations: 194.2 MB / 288.6 MB, free: 15.05 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.001658/0.001658, allocations: 110.8 kB / 346.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.722e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 57.63 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.252/5.373, allocations: 2.146 GB / 2.605 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/5.373, allocations: 89.66 kB / 2.605 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.734/9.108, allocations: 1.002 GB / 3.607 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/9.108, allocations: 3.938 kB / 3.607 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001749/9.108, allocations: 46.22 kB / 3.607 GB, free: 52.49 MB / 0.5261 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.004939/9.113, allocations: 2.217 MB / 3.609 GB, free: 51.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/9.113, allocations: 11.31 kB / 3.609 GB, free: 51.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/9.116, allocations: 0.6019 MB / 3.61 GB, free: 51.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/9.12, allocations: 1.6 MB / 3.611 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.06e-05/9.12, allocations: 108.6 kB / 3.611 GB, free: 50.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/9.12, allocations: 138.3 kB / 3.611 GB, free: 50.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/9.123, allocations: 1.532 MB / 3.613 GB, free: 50.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/9.123, allocations: 2.344 kB / 3.613 GB, free: 50.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/9.124, allocations: 65.12 kB / 3.613 GB, free: 50.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.453e-05/9.124, allocations: 53.08 kB / 3.613 GB, free: 50.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/9.126, allocations: 1.162 MB / 3.614 GB, free: 50.68 MB / 0.5261 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.008372/9.134, allocations: 6.196 MB / 3.62 GB, free: 48.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/9.136, allocations: 0.9307 MB / 3.621 GB, free: 47.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005014/9.136, allocations: 414.3 kB / 3.622 GB, free: 47.92 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/9.136, allocations: 109 kB / 3.622 GB, free: 47.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/9.138, allocations: 0.6478 MB / 3.622 GB, free: 47.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=80): time 2.926e-06/9.138, allocations: 0 / 3.622 GB, free: 47.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=80): time 0.002824/9.14, allocations: 1.069 MB / 3.623 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/9.14, allocations: 484.3 kB / 3.624 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/9.142, allocations: 1.241 MB / 3.625 GB, free: 46.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/9.142, allocations: 45.05 kB / 3.625 GB, free: 46.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006389/9.143, allocations: 0.8286 MB / 3.626 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/9.143, allocations: 275.7 kB / 3.626 GB, free: 46.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/9.143, allocations: 22.34 kB / 3.626 GB, free: 46.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/9.143, allocations: 338.7 kB / 3.626 GB, free: 45.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/9.144, allocations: 361.6 kB / 3.627 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007349/9.145, allocations: 0.6785 MB / 3.627 GB, free: 45.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/9.145, allocations: 0.5229 MB / 3.628 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/9.145, allocations: 4.812 kB / 3.628 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002421/9.148, allocations: 1.324 MB / 3.629 GB, free: 45.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006392/9.148, allocations: 2.17 MB / 3.631 GB, free: 42.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/9.149, allocations: 6.688 kB / 3.631 GB, free: 42.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/9.149, allocations: 67.92 kB / 3.631 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/9.15, allocations: 198.5 kB / 3.632 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005374/9.15, allocations: 0.5866 MB / 3.632 GB, free: 42.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002754/9.153, allocations: 199.8 kB / 3.632 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/9.153, allocations: 43.88 kB / 3.632 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/9.153, allocations: 2.969 kB / 3.632 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002124/9.155, allocations: 1.197 MB / 3.634 GB, free: 42.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/9.155, allocations: 11.59 kB / 3.634 GB, free: 42.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/9.156, allocations: 40.25 kB / 3.634 GB, free: 42.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/9.156, allocations: 191.3 kB / 3.634 GB, free: 42.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/9.157, allocations: 1.561 MB / 3.635 GB, free: 40.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/9.159, allocations: 170.4 kB / 3.636 GB, free: 40.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.113e-05/9.159, allocations: 44.58 kB / 3.636 GB, free: 40.71 MB / 0.5261 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.0003456/9.16, allocations: 197 kB / 3.636 GB, free: 40.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/9.16, allocations: 174.9 kB / 3.636 GB, free: 40.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/9.162, allocations: 1.075 MB / 3.637 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/9.162, allocations: 8.875 kB / 3.637 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/9.162, allocations: 0 / 3.637 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001473/9.164, allocations: 0.9363 MB / 3.638 GB, free: 40.14 MB / 0.5261 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.004265/9.168, allocations: 2.81 MB / 3.641 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/9.168, allocations: 0 / 3.641 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000743/9.169, allocations: 162.4 kB / 3.641 GB, free: 39.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/9.169, allocations: 48.75 kB / 3.641 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/9.169, allocations: 27.69 kB / 3.641 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/9.171, allocations: 1.673 MB / 3.643 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/9.171, allocations: 3.719 kB / 3.643 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/9.173, allocations: 1.723 MB / 3.644 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008609/9.174, allocations: 364.7 kB / 3.645 GB, free: 37.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/9.174, allocations: 25.86 kB / 3.645 GB, free: 37.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/9.175, allocations: 112.3 kB / 3.645 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/9.175, allocations: 51.16 kB / 3.645 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.65e-05/9.175, allocations: 33.59 kB / 3.645 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001337/9.177, allocations: 0.9612 MB / 3.646 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/9.177, allocations: 0 / 3.646 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003417/9.18, allocations: 1.077 MB / 3.647 GB, free: 37.28 MB / 0.5261 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.003328/9.184, allocations: 2.292 MB / 3.649 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002947/9.187, allocations: 1.989 MB / 3.651 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/9.187, allocations: 0 / 3.651 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006966/9.187, allocations: 0.6093 MB / 3.652 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004747/9.192, allocations: 0.853 MB / 3.652 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/9.198, allocations: 2.596 MB / 3.655 GB, free: 35.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/9.199, allocations: 1.414 MB / 3.656 GB, free: 34.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002493/9.202, allocations: 0.5419 MB / 3.657 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/9.202, allocations: 92.97 kB / 3.657 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/9.202, allocations: 0 / 3.657 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.08632/9.288, allocations: 65.27 MB / 3.721 GB, free: 3.207 MB / 0.5261 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)