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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001652/0.001652, allocations: 108.2 kB / 16.41 MB, free: 6.52 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.001416/0.001416, allocations: 189.5 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.938/1.938, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8812/0.8812, allocations: 135.1 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.62 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2093, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02135/0.2307, allocations: 15.05 MB / 0.68 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006652/0.2374, allocations: 3.883 MB / 0.6838 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007224/0.2382, allocations: 23.81 kB / 0.6838 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007592/0.239, allocations: 190.7 kB / 0.684 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.2411, allocations: 0.7075 MB / 0.6847 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.2426, allocations: 477.6 kB / 0.6851 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.2444, allocations: 1.091 MB / 0.6862 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.2449, allocations: 282.7 kB / 0.6865 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.2457, allocations: 414.4 kB / 0.6869 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.2461, allocations: 262.8 kB / 0.6871 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.2461, allocations: 20 kB / 0.6871 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.2475, allocations: 0.7212 MB / 0.6878 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2476, allocations: 71.69 kB / 0.6879 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.2479, allocations: 191 kB / 0.6881 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.2491, allocations: 0.7317 MB / 0.6888 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2491, allocations: 0 / 0.6888 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2491, allocations: 0 / 0.6888 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.2491, allocations: 0 / 0.6888 GB, free: 13.64 MB / 0.5294 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.001232/0.2504, allocations: 0.7582 MB / 0.6895 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2504, allocations: 13.09 kB / 0.6896 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.2505, allocations: 52.66 kB / 0.6896 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.2516, allocations: 0.5053 MB / 0.6901 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.2517, allocations: 20.31 kB / 0.6901 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.2517, allocations: 16 kB / 0.6901 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.2521, allocations: 176.2 kB / 0.6903 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2521, allocations: 0 / 0.6903 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.2522, allocations: 8 kB / 0.6903 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2522, allocations: 4 kB / 0.6903 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.2525, allocations: 136.2 kB / 0.6904 GB, free: 11.87 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.2538, allocations: 0.8685 MB / 0.6913 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.2541, allocations: 126.6 kB / 0.6914 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.2542, allocations: 72.75 kB / 0.6915 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/0.2546, allocations: 340.4 kB / 0.6918 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.2547, allocations: 34.5 kB / 0.6918 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.2547, allocations: 0 / 0.6918 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0006382/0.2553, allocations: 221.3 kB / 0.6921 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.2554, allocations: 59.34 kB / 0.6921 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.2558, allocations: 345.7 kB / 0.6924 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.2558, allocations: 29.7 kB / 0.6925 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.256, allocations: 188.5 kB / 0.6927 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.2561, allocations: 43.58 kB / 0.6927 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.2562, allocations: 37.7 kB / 0.6927 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.2564, allocations: 346.8 kB / 0.6931 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.2565, allocations: 48.83 kB / 0.6931 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.2567, allocations: 92.12 kB / 0.6932 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.257, allocations: 113.6 kB / 0.6933 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.257, allocations: 4 kB / 0.6933 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003655/0.2574, allocations: 185.3 kB / 0.6935 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2574, allocations: 4 kB / 0.6935 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2574, allocations: 0 / 0.6935 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2574, allocations: 0 / 0.6935 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.2576, allocations: 31.98 kB / 0.6935 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.2576, allocations: 3.984 kB / 0.6935 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.2578, allocations: 23.94 kB / 0.6935 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.2578, allocations: 4 kB / 0.6935 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002303/0.2581, allocations: 156.1 kB / 0.6937 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001566/0.2583, allocations: 92.19 kB / 0.6938 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002517/0.2585, allocations: 113.6 kB / 0.6939 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.2585, allocations: 0 / 0.6939 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003506/0.2589, allocations: 177.4 kB / 0.6941 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.2589, allocations: 7.938 kB / 0.6941 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-06/0.2589, allocations: 0 / 0.6941 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-06/0.2589, allocations: 4 kB / 0.6941 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.259, allocations: 19.98 kB / 0.6941 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2591, allocations: 7.938 kB / 0.6941 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.2592, allocations: 27.86 kB / 0.6941 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.2593, allocations: 4 kB / 0.6941 GB, free: 7.789 MB / 0.5294 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.0002004/0.2595, allocations: 192.3 kB / 0.6943 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.2595, allocations: 39.7 kB / 0.6944 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.2601, allocations: 220.6 kB / 0.6946 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2601, allocations: 4 kB / 0.6946 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2601, allocations: 0 / 0.6946 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.2602, allocations: 124.9 kB / 0.6947 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.2603, allocations: 3.938 kB / 0.6947 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.2605, allocations: 27.95 kB / 0.6947 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.2605, allocations: 4 kB / 0.6947 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004477/0.261, allocations: 272.7 kB / 0.695 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004555/0.2614, allocations: 373 kB / 0.6953 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001645/0.2616, allocations: 75.88 kB / 0.6954 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002574/0.2619, allocations: 247.2 kB / 0.6956 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of Backend: time 4.31e-07/0.2619, allocations: 3.938 kB / 0.6956 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.2634, allocations: 413 kB / 0.696 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001638/0.2651, allocations: 1.082 MB / 0.6971 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of Templates: time 0.0153/0.2804, allocations: 7.573 MB / 0.7045 GB, free: 13.17 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (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)