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.3324/0.3324, allocations: 55.01 MB / 69.95 MB, free: 8.699 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.001522/0.001522, allocations: 189.7 kB / 83.98 MB, free: 10.86 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.232/2.232, allocations: 194.4 MB / 292.3 MB, free: 3.602 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001852/0.001852, allocations: 115.1 kB / 350.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005038, allocations: 8 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1947, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.286/6.481, allocations: 2.144 GB / 2.609 GB, free: 37.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/6.481, allocations: 88.89 kB / 2.609 GB, free: 37.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.774/7.255, allocations: 219 MB / 2.823 GB, free: 17.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.326e-06/7.255, allocations: 0 / 2.823 GB, free: 17.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.456e-05/7.255, allocations: 8 kB / 2.823 GB, free: 17.58 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.001829/7.257, allocations: 0.7557 MB / 2.824 GB, free: 16.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/7.257, allocations: 8.031 kB / 2.824 GB, free: 16.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/7.258, allocations: 67.42 kB / 2.824 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00602/7.264, allocations: 2.2 MB / 2.826 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/7.264, allocations: 24.52 kB / 2.826 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/7.264, allocations: 27.94 kB / 2.826 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009542/7.265, allocations: 328.8 kB / 2.826 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/7.265, allocations: 3.984 kB / 2.826 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/7.265, allocations: 12 kB / 2.826 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/7.265, allocations: 4 kB / 2.826 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/7.265, allocations: 278 kB / 2.827 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/7.267, allocations: 1.08 MB / 2.828 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/7.268, allocations: 138.5 kB / 2.828 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/7.268, allocations: 3.938 kB / 2.828 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/7.268, allocations: 34.59 kB / 2.828 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 3.537e-06/7.268, allocations: 0 / 2.828 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.00091/7.269, allocations: 289 kB / 2.828 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/7.269, allocations: 51.41 kB / 2.828 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/7.269, allocations: 360.8 kB / 2.829 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/7.269, allocations: 29.7 kB / 2.829 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/7.269, allocations: 215.9 kB / 2.829 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/7.269, allocations: 39.44 kB / 2.829 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/7.269, allocations: 8 kB / 2.829 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/7.269, allocations: 347 kB / 2.829 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/7.27, allocations: 63.95 kB / 2.829 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/7.27, allocations: 139.5 kB / 2.829 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/7.27, allocations: 83.98 kB / 2.829 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/7.27, allocations: 0 / 2.829 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004599/7.27, allocations: 261 kB / 2.83 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001638/7.271, allocations: 0.6162 MB / 2.83 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/7.271, allocations: 4 kB / 2.83 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/7.271, allocations: 4 kB / 2.83 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/7.271, allocations: 47.97 kB / 2.83 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/7.271, allocations: 0 / 2.83 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/7.271, allocations: 47.59 kB / 2.83 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/7.271, allocations: 12 kB / 2.83 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/7.271, allocations: 4 kB / 2.83 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003136/7.272, allocations: 176 kB / 2.831 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/7.272, allocations: 4.125 kB / 2.831 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.327e-06/7.272, allocations: 8 kB / 2.831 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/7.272, allocations: 47.91 kB / 2.831 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/7.272, allocations: 4 kB / 2.831 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/7.272, allocations: 39.67 kB / 2.831 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/7.272, allocations: 7.953 kB / 2.831 GB, free: 9.422 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 () * Number of clocked 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 0.0001783/7.272, allocations: 245 kB / 2.831 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.115e-05/7.272, allocations: 35.62 kB / 2.831 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/7.272, allocations: 39.12 kB / 2.831 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/7.272, allocations: 0 / 2.831 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/7.272, allocations: 0 / 2.831 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/7.272, allocations: 0 / 2.831 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000896/7.273, allocations: 0.671 MB / 2.832 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/7.273, allocations: 192 / 2.832 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/7.273, allocations: 39.91 kB / 2.832 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/7.273, allocations: 7.953 kB / 2.832 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/7.274, allocations: 11.94 kB / 2.832 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/7.274, allocations: 0 / 2.832 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/7.274, allocations: 4 kB / 2.832 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/7.274, allocations: 410.7 kB / 2.832 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/7.274, allocations: 136.7 kB / 2.832 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/7.274, allocations: 16.19 kB / 2.832 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/7.275, allocations: 31.89 kB / 2.832 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/7.275, allocations: 15.92 kB / 2.832 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/7.275, allocations: 11.98 kB / 2.832 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002443/7.275, allocations: 291.1 kB / 2.833 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.275, allocations: 0 / 2.833 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008385/7.276, allocations: 239.8 kB / 2.833 GB, free: 7.07 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 () * Number of clocked 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.001268/7.277, allocations: 0.8783 MB / 2.834 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006082/7.278, allocations: 272.1 kB / 2.834 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/7.278, allocations: 3.938 kB / 2.834 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/7.278, allocations: 75.89 kB / 2.834 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008961/7.279, allocations: 213.6 kB / 2.834 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/7.28, allocations: 0.7463 MB / 2.835 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/7.28, allocations: 0.8154 MB / 2.836 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003902/7.28, allocations: 88.08 kB / 2.836 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/7.28, allocations: 31.44 kB / 2.836 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/7.28, allocations: 0 / 2.836 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of Templates: time 0.3267/7.607, allocations: 17.66 MB / 2.853 GB, free: 115.2 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)