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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00872/0.00872, allocations: 101.5 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.635/1.635, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4115/0.4115, allocations: 54.94 MB / 324.8 MB, free: 15.98 MB / 270.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.001499/0.001499, allocations: 71.83 kB / 456.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1639, allocations: 59.6 MB / 0.5037 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.627/0.791, allocations: 161.7 MB / 0.6616 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004224/0.7952, allocations: 2.234 MB / 0.6638 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004954/0.7958, allocations: 14.28 kB / 0.6638 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008439/0.7967, allocations: 261.1 kB / 0.664 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.7983, allocations: 0.6098 MB / 0.6646 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.7996, allocations: 455.2 kB / 0.6651 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.8014, allocations: 1.055 MB / 0.6661 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/0.8018, allocations: 271.8 kB / 0.6664 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.8031, allocations: 0.5961 MB / 0.6669 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.8035, allocations: 275.5 kB / 0.6672 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.8036, allocations: 32.34 kB / 0.6672 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.8047, allocations: 0.604 MB / 0.6678 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.8049, allocations: 152.8 kB / 0.668 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.8052, allocations: 238.2 kB / 0.6682 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.8063, allocations: 0.7944 MB / 0.669 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8064, allocations: 0 / 0.669 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8064, allocations: 0 / 0.669 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.8064, allocations: 0 / 0.669 GB, free: 15.97 MB / 0.5137 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.001164/0.8075, allocations: 0.758 MB / 0.6697 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.8076, allocations: 10.91 kB / 0.6697 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.8079, allocations: 49.12 kB / 0.6698 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.8083, allocations: 370.2 kB / 0.6701 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.8084, allocations: 21.34 kB / 0.6701 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.8084, allocations: 28.94 kB / 0.6702 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.8095, allocations: 385.7 kB / 0.6705 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.8095, allocations: 8 kB / 0.6705 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.8095, allocations: 13.41 kB / 0.6706 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.8095, allocations: 7.562 kB / 0.6706 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.8105, allocations: 331.3 kB / 0.6709 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.8121, allocations: 1.087 MB / 0.6719 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.8129, allocations: 198 kB / 0.6721 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.813, allocations: 74.77 kB / 0.6722 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.8131, allocations: 0 / 0.6722 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.8131, allocations: 40.25 kB / 0.6722 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.8131, allocations: 0 / 0.6722 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.001528/0.8146, allocations: 399.7 kB / 0.6726 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.8147, allocations: 54.73 kB / 0.6727 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.8151, allocations: 409.4 kB / 0.6731 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.8152, allocations: 28.95 kB / 0.6731 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.8153, allocations: 216.1 kB / 0.6733 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.8154, allocations: 50.34 kB / 0.6733 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/0.8155, allocations: 36.56 kB / 0.6734 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8156, allocations: 350.8 kB / 0.6737 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.8159, allocations: 97.14 kB / 0.6738 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.8163, allocations: 150.4 kB / 0.674 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.8169, allocations: 229.6 kB / 0.6742 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8169, allocations: 1.203 kB / 0.6742 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007079/0.8176, allocations: 292.7 kB / 0.6745 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.8176, allocations: 6.031 kB / 0.6745 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.8176, allocations: 2.562 kB / 0.6745 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.8177, allocations: 4.656 kB / 0.6745 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.818, allocations: 50.94 kB / 0.6745 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.818, allocations: 5.812 kB / 0.6745 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.8183, allocations: 51.45 kB / 0.6746 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.8183, allocations: 12.38 kB / 0.6746 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002627/0.8186, allocations: 189.6 kB / 0.6748 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001823/0.8188, allocations: 123.2 kB / 0.6749 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002917/0.8191, allocations: 177.3 kB / 0.675 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.8191, allocations: 0 / 0.675 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004042/0.8195, allocations: 232.9 kB / 0.6753 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.8195, allocations: 10.94 kB / 0.6753 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.8195, allocations: 2.094 kB / 0.6753 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.8195, allocations: 2.25 kB / 0.6753 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.8197, allocations: 39.42 kB / 0.6753 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.8197, allocations: 8.609 kB / 0.6753 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.8199, allocations: 18.39 kB / 0.6753 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.82, allocations: 8.094 kB / 0.6754 GB, free: 13.27 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.8201, allocations: 196.5 kB / 0.6755 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.8202, allocations: 36.88 kB / 0.6756 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.684e-05/0.8203, allocations: 39.61 kB / 0.6756 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.8203, allocations: 2.625 kB / 0.6756 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.8203, allocations: 6.344 kB / 0.6756 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.8203, allocations: 7.984 kB / 0.6756 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.8215, allocations: 0.7229 MB / 0.6763 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8215, allocations: 0 / 0.6763 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.8217, allocations: 46.17 kB / 0.6764 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.8217, allocations: 2.625 kB / 0.6764 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.8217, allocations: 10.91 kB / 0.6764 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8218, allocations: 3.312 kB / 0.6764 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8218, allocations: 2.156 kB / 0.6764 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/0.8224, allocations: 374.2 kB / 0.6768 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.8226, allocations: 146.1 kB / 0.6769 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.8226, allocations: 2.625 kB / 0.6769 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.823, allocations: 33.33 kB / 0.6769 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.8231, allocations: 13.12 kB / 0.6769 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.8232, allocations: 17.44 kB / 0.677 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003092/0.8235, allocations: 292.7 kB / 0.6772 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8235, allocations: 1.094 kB / 0.6772 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006439/0.8241, allocations: 205.5 kB / 0.6774 GB, free: 12.25 MB / 0.5137 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 (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.0004235/0.8246, allocations: 194.9 kB / 0.6776 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008007/0.8254, allocations: 299.2 kB / 0.6779 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8254, allocations: 0 / 0.6779 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.8257, allocations: 102.8 kB / 0.678 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.8267, allocations: 217.7 kB / 0.6782 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.8278, allocations: 0.6491 MB / 0.6788 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.8282, allocations: 0.8027 MB / 0.6796 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003265/0.8285, allocations: 102.4 kB / 0.6797 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.8286, allocations: 28.62 kB / 0.6798 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of SimCode: time 8.21e-07/0.8286, allocations: 0 / 0.6798 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of Templates: time 0.01319/0.8418, allocations: 8.235 MB / 0.6878 GB, free: 9.145 MB / 0.5137 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)