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.001161/0.001161, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001294/0.001294, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4233/0.4233, allocations: 55.01 MB / 325.4 MB, free: 0.7305 MB / 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.0005145/0.0005145, allocations: 19.98 kB / 396.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4794, allocations: 60.72 MB / 457.4 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.2315/0.711, allocations: 146.8 MB / 0.59 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.715, allocations: 2.085 MB / 0.5921 GB, free: 2.332 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.7154, allocations: 15.88 kB / 0.5921 GB, free: 2.316 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007475/0.7162, allocations: 159 kB / 0.5922 GB, free: 2.16 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001658/0.7179, allocations: 0.4986 MB / 0.5927 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.7191, allocations: 358.4 kB / 0.5931 GB, free: 1.316 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.7208, allocations: 1.201 MB / 0.5942 GB, free: 116 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.7213, allocations: 227 kB / 0.5945 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.7224, allocations: 490 kB / 0.5949 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.7229, allocations: 287 kB / 0.5952 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.7229, allocations: 12 kB / 0.5952 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.7241, allocations: 0.5654 MB / 0.5958 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.7243, allocations: 143.5 kB / 0.5959 GB, free: 14.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.7245, allocations: 105.5 kB / 0.596 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008719/0.7254, allocations: 0.5651 MB / 0.5966 GB, free: 13.73 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7254, allocations: 0 / 0.5966 GB, free: 13.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7254, allocations: 0 / 0.5966 GB, free: 13.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.7254, allocations: 4 kB / 0.5966 GB, free: 13.73 MB / 478.1 MB 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.001324/0.7267, allocations: 0.6796 MB / 0.5972 GB, free: 13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.7268, allocations: 8.031 kB / 0.5972 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.7271, allocations: 53.06 kB / 0.5973 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005643/0.7276, allocations: 342.7 kB / 0.5976 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.7277, allocations: 22.28 kB / 0.5976 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.7277, allocations: 24.94 kB / 0.5976 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.7289, allocations: 408.6 kB / 0.598 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.7289, allocations: 0 / 0.598 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.729, allocations: 16 kB / 0.5981 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.729, allocations: 11.95 kB / 0.5981 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009437/0.73, allocations: 353.9 kB / 0.5984 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.7318, allocations: 1.096 MB / 0.5995 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.7325, allocations: 223.6 kB / 0.5997 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.7327, allocations: 80.89 kB / 0.5998 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.7327, allocations: 4 kB / 0.5998 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.7328, allocations: 35.44 kB / 0.5998 GB, free: 10.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.7328, allocations: 0 / 0.5998 GB, free: 10.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001494/0.7343, allocations: 442.4 kB / 0.6002 GB, free: 9.766 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.7343, allocations: 51.41 kB / 0.6003 GB, free: 9.703 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.7348, allocations: 413.6 kB / 0.6007 GB, free: 9.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.7349, allocations: 25.7 kB / 0.6007 GB, free: 9.262 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.7351, allocations: 216 kB / 0.6009 GB, free: 9.047 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.7351, allocations: 39.31 kB / 0.6009 GB, free: 9.008 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.7351, allocations: 8.656 kB / 0.6009 GB, free: 9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.7353, allocations: 342.8 kB / 0.6013 GB, free: 8.656 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.7356, allocations: 107.9 kB / 0.6014 GB, free: 8.551 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.7359, allocations: 147.3 kB / 0.6015 GB, free: 8.383 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.7362, allocations: 116.9 kB / 0.6016 GB, free: 8.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7362, allocations: 3.938 kB / 0.6016 GB, free: 8.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007224/0.737, allocations: 309.6 kB / 0.6019 GB, free: 7.957 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.7371, allocations: 138.1 kB / 0.6021 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.7371, allocations: 4 kB / 0.6021 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.7372, allocations: 0 / 0.6021 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.7375, allocations: 67.89 kB / 0.6021 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.7375, allocations: 4.969 kB / 0.6021 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.7379, allocations: 51.66 kB / 0.6022 GB, free: 7.676 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.7379, allocations: 11.98 kB / 0.6022 GB, free: 7.664 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.373e-06/0.738, allocations: 4 kB / 0.6022 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004131/0.7384, allocations: 193.3 kB / 0.6024 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.7384, allocations: 0 / 0.6024 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.7384, allocations: 4 kB / 0.6024 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.7386, allocations: 44.09 kB / 0.6024 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7386, allocations: 7.938 kB / 0.6024 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.7388, allocations: 35.73 kB / 0.6025 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.7389, allocations: 4.625 kB / 0.6025 GB, free: 7.379 MB / 478.1 MB 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.000241/0.7391, allocations: 241.7 kB / 0.6027 GB, free: 7.133 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.7392, allocations: 43.53 kB / 0.6027 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.7393, allocations: 39.12 kB / 0.6028 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.7393, allocations: 0 / 0.6028 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.7393, allocations: 0 / 0.6028 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.7393, allocations: 3.938 kB / 0.6028 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.7406, allocations: 0.7504 MB / 0.6035 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.7406, allocations: 4 kB / 0.6035 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.7408, allocations: 43.91 kB / 0.6036 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.7408, allocations: 4 kB / 0.6036 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.7409, allocations: 9.203 kB / 0.6036 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.7409, allocations: 8.188 kB / 0.6036 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7409, allocations: 0.8125 kB / 0.6036 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/0.7416, allocations: 396 kB / 0.604 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.7417, allocations: 144.6 kB / 0.6041 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.7418, allocations: 0 / 0.6041 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.7422, allocations: 39.95 kB / 0.6041 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.7422, allocations: 23.94 kB / 0.6042 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.7423, allocations: 13.05 kB / 0.6042 GB, free: 5.496 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003216/0.7426, allocations: 291.1 kB / 0.6044 GB, free: 5.215 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7426, allocations: 0 / 0.6044 GB, free: 5.215 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006674/0.7433, allocations: 199.7 kB / 0.6046 GB, free: 5.02 MB / 478.1 MB 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.0004924/0.7438, allocations: 197.6 kB / 0.6048 GB, free: 4.824 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008055/0.7446, allocations: 316.6 kB / 0.6051 GB, free: 4.516 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7447, allocations: 3.938 kB / 0.6051 GB, free: 4.512 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.7449, allocations: 117.2 kB / 0.6052 GB, free: 4.398 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.746, allocations: 219.1 kB / 0.6055 GB, free: 4.195 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.7472, allocations: 0.7766 MB / 0.6062 GB, free: 3.383 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.7476, allocations: 0.7999 MB / 0.607 GB, free: 2.559 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003954/0.748, allocations: 96.16 kB / 0.6071 GB, free: 2.469 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.7481, allocations: 31.44 kB / 0.6071 GB, free: 2.438 MB / 478.1 MB Notification: Performance of SimCode: time 2.11e-07/0.7481, allocations: 4 kB / 0.6071 GB, free: 2.434 MB / 478.1 MB Notification: Performance of Templates: time 0.0149/0.763, allocations: 7.577 MB / 0.6145 GB, free: 10.98 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: