Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Annex60.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 187.7 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4256/0.4256, allocations: 54.94 MB / 324.8 MB, free: 8 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 71.91 kB / 396.2 MB, free: 11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4551, allocations: 59.58 MB / 455.7 MB, free: 40.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003195/0.4584, allocations: 1.475 MB / 457.2 MB, free: 39.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1699/0.6283, allocations: 132.1 MB / 0.5755 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.6284, allocations: 0 / 0.5755 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.049e-05/0.6285, allocations: 11.94 kB / 0.5755 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.832e-05/0.6286, allocations: 15.84 kB / 0.5755 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.629, allocations: 59.72 kB / 0.5756 GB, free: 1.602 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.6291, allocations: 59.73 kB / 0.5756 GB, free: 1.543 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.6293, allocations: 13.81 kB / 0.5756 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.6293, allocations: 23.91 kB / 0.5757 GB, free: 1.508 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.6294, allocations: 27.92 kB / 0.5757 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.6294, allocations: 4 kB / 0.5757 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-05/0.6295, allocations: 15.98 kB / 0.5757 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.6295, allocations: 11.94 kB / 0.5757 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.6296, allocations: 19.92 kB / 0.5757 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.6297, allocations: 61.47 kB / 0.5758 GB, free: 1.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6298, allocations: 0 / 0.5758 GB, free: 1.375 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6298, allocations: 1.031 kB / 0.5758 GB, free: 1.375 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.6298, allocations: 0 / 0.5758 GB, free: 1.375 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005656/0.6303, allocations: 375.8 kB / 0.5762 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6304, allocations: 12.03 kB / 0.5762 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.6304, allocations: 6.406 kB / 0.5762 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.6306, allocations: 176.2 kB / 0.5763 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.6306, allocations: 384 / 0.5763 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.6306, allocations: 9.031 kB / 0.5764 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.6309, allocations: 74.83 kB / 0.5764 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.6309, allocations: 192 / 0.5764 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.6309, allocations: 7.938 kB / 0.5764 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6309, allocations: 0 / 0.5764 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.6312, allocations: 67.92 kB / 0.5765 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.6316, allocations: 280.8 kB / 0.5768 GB, free: 264 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.6319, allocations: 55.86 kB / 0.5768 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.632, allocations: 45.41 kB / 0.5769 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.6322, allocations: 93.08 kB / 0.577 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.6322, allocations: 30.56 kB / 0.577 GB, free: 0 / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 3.656e-06/0.6323, allocations: 4.047 kB / 0.577 GB, free: 15.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005409/0.6328, allocations: 137.4 kB / 0.5771 GB, free: 15.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.6329, allocations: 51.41 kB / 0.5772 GB, free: 15.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.633, allocations: 119 kB / 0.5773 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.633, allocations: 29.7 kB / 0.5773 GB, free: 15.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.6331, allocations: 88.14 kB / 0.5774 GB, free: 15.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.6331, allocations: 15.81 kB / 0.5774 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.6331, allocations: 21.7 kB / 0.5774 GB, free: 15.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6333, allocations: 314.8 kB / 0.5777 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.6334, allocations: 31.97 kB / 0.5778 GB, free: 15.15 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.6336, allocations: 39.33 kB / 0.5778 GB, free: 15.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.6338, allocations: 73.22 kB / 0.5779 GB, free: 15.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6338, allocations: 0 / 0.5779 GB, free: 15.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002895/0.6341, allocations: 97.62 kB / 0.578 GB, free: 14.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.6342, allocations: 4 kB / 0.578 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6342, allocations: 4 kB / 0.578 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.6342, allocations: 1.562 kB / 0.578 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.6343, allocations: 15.98 kB / 0.578 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.6343, allocations: 0 / 0.578 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.6344, allocations: 15.97 kB / 0.578 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.6344, allocations: 0 / 0.578 GB, free: 14.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.684e-05/0.6346, allocations: 117.8 kB / 0.5781 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.6346, allocations: 7.906 kB / 0.5781 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.635, allocations: 110.3 kB / 0.5782 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.635, allocations: 0 / 0.5782 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.635, allocations: 0 / 0.5782 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.635, allocations: 0 / 0.5782 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.6352, allocations: 173.6 kB / 0.5784 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6352, allocations: 4 kB / 0.5784 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.534e-05/0.6353, allocations: 16.67 kB / 0.5784 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.6353, allocations: 0 / 0.5784 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.6353, allocations: 4 kB / 0.5784 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6353, allocations: 0 / 0.5784 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6353, allocations: 0 / 0.5784 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.6357, allocations: 211.2 kB / 0.5786 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.6358, allocations: 84.7 kB / 0.5787 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.6358, allocations: 0 / 0.5787 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.6359, allocations: 15.98 kB / 0.5787 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.636, allocations: 7.984 kB / 0.5787 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.636, allocations: 0 / 0.5787 GB, free: 14.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.599e-05/0.636, allocations: 93.89 kB / 0.5788 GB, free: 13.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6361, allocations: 4 kB / 0.5788 GB, free: 13.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.6363, allocations: 13.5 kB / 0.5788 GB, free: 13.96 MB / 462.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001739/0.6365, allocations: 111.2 kB / 0.5789 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003335/0.6368, allocations: 67.92 kB / 0.579 GB, free: 13.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6368, allocations: 0 / 0.579 GB, free: 13.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.637, allocations: 44.75 kB / 0.579 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.6373, allocations: 13.02 kB / 0.579 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.6378, allocations: 156 kB / 0.5792 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.6381, allocations: 0.6846 MB / 0.5799 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.459e-05/0.6381, allocations: 4.75 kB / 0.5799 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.6382, allocations: 11.44 kB / 0.5799 GB, free: 12.83 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.6382, allocations: 0 / 0.5799 GB, free: 12.83 MB / 462.1 MB Notification: Performance of Templates: time 0.003611/0.6418, allocations: 1 MB / 0.5809 GB, free: 11.86 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)