Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.121/1.121, allocations: 175.7 MB / 480.2 MB, free: 3.113 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.58 kB / 0.6684 GB, free: 10.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2049, allocations: 94.52 MB / 0.7607 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01861/0.2235, allocations: 15.31 MB / 0.7756 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006778/0.2303, allocations: 3.919 MB / 0.7795 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004592/0.2307, allocations: 23.88 kB / 0.7795 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006416/0.2314, allocations: 190.7 kB / 0.7797 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.2333, allocations: 0.692 MB / 0.7803 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.2348, allocations: 485.9 kB / 0.7808 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00165/0.2364, allocations: 1.076 MB / 0.7818 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/0.2369, allocations: 241.5 kB / 0.7821 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009422/0.2378, allocations: 470.2 kB / 0.7825 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.2382, allocations: 266.8 kB / 0.7828 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.2383, allocations: 20 kB / 0.7828 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.2397, allocations: 0.7251 MB / 0.7835 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.2398, allocations: 71.69 kB / 0.7836 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.24, allocations: 194.9 kB / 0.7838 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.2412, allocations: 0.7239 MB / 0.7845 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2412, allocations: 4 kB / 0.7845 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2412, allocations: 0 / 0.7845 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.2412, allocations: 0 / 0.7845 GB, free: 7.816 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001258/0.2425, allocations: 0.7621 MB / 0.7852 GB, free: 7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 8.95e-05/0.2426, allocations: 8.031 kB / 0.7852 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.17e-05/0.2427, allocations: 48.64 kB / 0.7853 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009757/0.2436, allocations: 0.517 MB / 0.7858 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.2437, allocations: 12.33 kB / 0.7858 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.2437, allocations: 16 kB / 0.7858 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.2441, allocations: 176.2 kB / 0.786 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2441, allocations: 3.984 kB / 0.786 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.2441, allocations: 16 kB / 0.786 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2441, allocations: 4 kB / 0.786 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.2445, allocations: 136.1 kB / 0.7861 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.2457, allocations: 0.8608 MB / 0.787 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.246, allocations: 114.6 kB / 0.7871 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.2462, allocations: 72.75 kB / 0.7871 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003287/0.2466, allocations: 340.4 kB / 0.7875 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.2466, allocations: 34.56 kB / 0.7875 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.2466, allocations: 0 / 0.7875 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0005796/0.2472, allocations: 217.3 kB / 0.7877 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.2472, allocations: 59.33 kB / 0.7878 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.2476, allocations: 345.7 kB / 0.7881 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.2476, allocations: 29.7 kB / 0.7881 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.2478, allocations: 196.5 kB / 0.7883 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.2478, allocations: 39.62 kB / 0.7883 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.2479, allocations: 37.66 kB / 0.7884 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2481, allocations: 338.8 kB / 0.7887 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.2482, allocations: 52.81 kB / 0.7888 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.2484, allocations: 100.2 kB / 0.7888 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.2487, allocations: 117.6 kB / 0.789 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2487, allocations: 3.984 kB / 0.789 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003791/0.249, allocations: 181.3 kB / 0.7891 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2491, allocations: 8 kB / 0.7891 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2491, allocations: 0 / 0.7891 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2491, allocations: 4 kB / 0.7892 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.2492, allocations: 27.92 kB / 0.7892 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2492, allocations: 0 / 0.7892 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.2494, allocations: 23.92 kB / 0.7892 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.2494, allocations: 8 kB / 0.7892 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003082/0.2498, allocations: 152.1 kB / 0.7894 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001681/0.2499, allocations: 84.25 kB / 0.7894 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002502/0.2502, allocations: 121.5 kB / 0.7895 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.2502, allocations: 0 / 0.7895 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003595/0.2505, allocations: 181.3 kB / 0.7897 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.2505, allocations: 4 kB / 0.7897 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/0.2505, allocations: 4 kB / 0.7897 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-06/0.2505, allocations: 0 / 0.7897 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2507, allocations: 23.98 kB / 0.7898 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.2507, allocations: 3.984 kB / 0.7898 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.2508, allocations: 24.05 kB / 0.7898 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.2508, allocations: 11.98 kB / 0.7898 GB, free: 1.953 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 0.0001277/0.251, allocations: 188.2 kB / 0.79 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.35e-05/0.2511, allocations: 43.7 kB / 0.79 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000516/0.2516, allocations: 223 kB / 0.7902 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.2516, allocations: 4 kB / 0.7902 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2516, allocations: 0 / 0.7902 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2516, allocations: 0 / 0.7902 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000988/0.2526, allocations: 0.6334 MB / 0.7908 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2526, allocations: 0 / 0.7908 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.2527, allocations: 27.92 kB / 0.7909 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.2527, allocations: 4 kB / 0.7909 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.2527, allocations: 3.984 kB / 0.7909 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2527, allocations: 4 kB / 0.7909 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2527, allocations: 0 / 0.7909 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.2532, allocations: 317.8 kB / 0.7912 GB, free: 432 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2533, allocations: 132.8 kB / 0.7913 GB, free: 280 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.2534, allocations: 4.062 kB / 0.7913 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.2536, allocations: 23.92 kB / 0.7913 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.2536, allocations: 19.92 kB / 0.7914 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.2536, allocations: 7.984 kB / 0.7914 GB, free: 224 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003452/0.254, allocations: 243.2 kB / 0.7916 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.254, allocations: 0 / 0.7916 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000646/0.2546, allocations: 191.4 kB / 0.7918 GB, free: 15.79 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000555/0.2552, allocations: 254.2 kB / 0.792 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000507/0.2557, allocations: 179.8 kB / 0.7922 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2557, allocations: 0 / 0.7922 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.2559, allocations: 80.08 kB / 0.7923 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.2567, allocations: 150 kB / 0.7924 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2577, allocations: 0.5781 MB / 0.793 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.2581, allocations: 0.7957 MB / 0.7938 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.2584, allocations: 66.92 kB / 0.7938 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.2584, allocations: 35.42 kB / 0.7939 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2584, allocations: 0 / 0.7939 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of Templates: time 0.0144/0.2728, allocations: 6.689 MB / 0.8004 GB, free: 7.027 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.541261162608862]