Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2937/0.2937, allocations: 54.33 MB / 66.89 MB, free: 6.082 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.001122/0.001122, allocations: 178.6 kB / 80.7 MB, free: 15.39 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.698/1.698, allocations: 194.2 MB / 288.6 MB, free: 14.99 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.001764/0.001765, allocations: 103.9 kB / 346.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.927e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1306, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.463/5.594, allocations: 2.144 GB / 2.603 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/5.594, allocations: 90.05 kB / 2.603 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6887/6.283, allocations: 218.7 MB / 2.816 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.677e-06/6.283, allocations: 2.469 kB / 2.816 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.325e-05/6.283, allocations: 18.62 kB / 2.816 GB, free: 116.1 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001341/6.285, allocations: 0.6999 MB / 2.817 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/6.285, allocations: 10.66 kB / 2.817 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/6.285, allocations: 60.86 kB / 2.817 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005673/6.291, allocations: 2.176 MB / 2.819 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/6.291, allocations: 19.72 kB / 2.819 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/6.291, allocations: 30.56 kB / 2.819 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/6.291, allocations: 298.2 kB / 2.82 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/6.292, allocations: 0 / 2.82 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/6.292, allocations: 11.94 kB / 2.82 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/6.292, allocations: 11.47 kB / 2.82 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/6.292, allocations: 236.4 kB / 2.82 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/6.294, allocations: 1.077 MB / 2.821 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/6.294, allocations: 107.7 kB / 2.821 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/6.294, allocations: 58.48 kB / 2.821 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/6.294, allocations: 0 / 2.821 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/6.294, allocations: 41.86 kB / 2.821 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/6.294, allocations: 0 / 2.821 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.000606/6.295, allocations: 189.1 kB / 2.821 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/6.295, allocations: 51.41 kB / 2.821 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/6.295, allocations: 350.2 kB / 2.822 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/6.295, allocations: 32.27 kB / 2.822 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/6.295, allocations: 222.4 kB / 2.822 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/6.295, allocations: 38.47 kB / 2.822 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/6.295, allocations: 5.562 kB / 2.822 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/6.295, allocations: 346 kB / 2.822 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/6.296, allocations: 60.78 kB / 2.822 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/6.296, allocations: 103.5 kB / 2.822 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/6.296, allocations: 65.34 kB / 2.823 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/6.296, allocations: 3.938 kB / 2.823 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002702/6.296, allocations: 207.7 kB / 2.823 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/6.296, allocations: 0.6169 MB / 2.823 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/6.296, allocations: 0 / 2.823 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/6.296, allocations: 3.906 kB / 2.823 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/6.296, allocations: 56.11 kB / 2.823 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/6.297, allocations: 11.34 kB / 2.823 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/6.297, allocations: 41.31 kB / 2.823 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/6.297, allocations: 7.031 kB / 2.823 GB, free: 112 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/6.297, allocations: 7.125 kB / 2.823 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001936/6.297, allocations: 141.8 kB / 2.824 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/6.297, allocations: 0 / 2.824 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/6.297, allocations: 11.78 kB / 2.824 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/6.297, allocations: 44.89 kB / 2.824 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/6.297, allocations: 0 / 2.824 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/6.297, allocations: 37.86 kB / 2.824 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/6.297, allocations: 11.41 kB / 2.824 GB, free: 111.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/6.298, allocations: 116.8 kB / 2.824 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/6.298, allocations: 42.22 kB / 2.824 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/6.298, allocations: 37.47 kB / 2.824 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/6.298, allocations: 6.906 kB / 2.824 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/6.298, allocations: 0 / 2.824 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/6.298, allocations: 3.891 kB / 2.824 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/6.298, allocations: 0.6337 MB / 2.824 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/6.298, allocations: 4.031 kB / 2.824 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/6.299, allocations: 38.83 kB / 2.825 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/6.299, allocations: 3.25 kB / 2.825 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/6.299, allocations: 3.406 kB / 2.825 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/6.299, allocations: 7.906 kB / 2.825 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/6.299, allocations: 3.719 kB / 2.825 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/6.299, allocations: 364.9 kB / 2.825 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/6.299, allocations: 147.3 kB / 2.825 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/6.299, allocations: 3.438 kB / 2.825 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/6.299, allocations: 23.42 kB / 2.825 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/6.299, allocations: 21.95 kB / 2.825 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/6.299, allocations: 21.12 kB / 2.825 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002257/6.3, allocations: 278 kB / 2.825 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/6.3, allocations: 0 / 2.825 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007771/6.3, allocations: 235 kB / 2.826 GB, free: 110.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/6.302, allocations: 0.8951 MB / 2.826 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003356/6.302, allocations: 211.6 kB / 2.827 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/6.302, allocations: 0 / 2.827 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/6.302, allocations: 64.53 kB / 2.827 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/6.303, allocations: 207 kB / 2.827 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/6.304, allocations: 422.4 kB / 2.827 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/6.304, allocations: 0.8061 MB / 2.828 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000461/6.304, allocations: 129 kB / 2.828 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/6.304, allocations: 31.38 kB / 2.828 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/6.304, allocations: 0 / 2.828 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.02622/6.331, allocations: 20.75 MB / 2.849 GB, free: 96.57 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)