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.001322/0.001322, allocations: 102.5 kB / 16.27 MB, free: 6.414 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.001279/0.001279, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8536/0.8536, allocations: 135.1 MB / 426.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.91 kB / 0.506 GB, free: 8.434 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4057, allocations: 80.91 MB / 0.585 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01214/0.4179, allocations: 15.05 MB / 0.5997 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.4223, allocations: 3.883 MB / 0.6035 GB, free: 7.656 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005013/0.4228, allocations: 19.88 kB / 0.6035 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.4234, allocations: 191.5 kB / 0.6037 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.4249, allocations: 0.679 MB / 0.6044 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.426, allocations: 467.1 kB / 0.6048 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.4271, allocations: 1.081 MB / 0.6059 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.4275, allocations: 301.3 kB / 0.6061 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.428, allocations: 392.8 kB / 0.6065 GB, free: 4.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.4283, allocations: 266.8 kB / 0.6068 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.4283, allocations: 20 kB / 0.6068 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009762/0.4293, allocations: 0.714 MB / 0.6075 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.4294, allocations: 77.61 kB / 0.6076 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.4295, allocations: 183 kB / 0.6077 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007726/0.4303, allocations: 0.7245 MB / 0.6084 GB, free: 2.602 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4303, allocations: 4 kB / 0.6084 GB, free: 2.598 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4303, allocations: 0 / 0.6084 GB, free: 2.598 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.4303, allocations: 0 / 0.6084 GB, free: 2.598 MB / 446.1 MB 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.0009617/0.4313, allocations: 0.7383 MB / 0.6092 GB, free: 1.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.4313, allocations: 13.05 kB / 0.6092 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.4314, allocations: 48.95 kB / 0.6092 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006911/0.4321, allocations: 0.4969 MB / 0.6097 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4322, allocations: 12.33 kB / 0.6097 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.4322, allocations: 20 kB / 0.6097 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.4325, allocations: 177 kB / 0.6099 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4325, allocations: 4.875 kB / 0.6099 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.4326, allocations: 4 kB / 0.6099 GB, free: 1.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4326, allocations: 5.031 kB / 0.6099 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.4329, allocations: 141.4 kB / 0.6101 GB, free: 0.8672 MB / 446.1 MB 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.0009145/0.4338, allocations: 0.8537 MB / 0.6109 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.4341, allocations: 128.2 kB / 0.611 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.4342, allocations: 72.81 kB / 0.6111 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003501/0.4346, allocations: 344 kB / 0.6114 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.4346, allocations: 30.56 kB / 0.6114 GB, free: 15.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.4347, allocations: 4 kB / 0.6114 GB, free: 15.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005852/0.4352, allocations: 217 kB / 0.6117 GB, free: 15.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.4353, allocations: 55.41 kB / 0.6117 GB, free: 14.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.4356, allocations: 345.7 kB / 0.612 GB, free: 14.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.4357, allocations: 33.7 kB / 0.6121 GB, free: 14.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.4358, allocations: 192.3 kB / 0.6123 GB, free: 14.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.4359, allocations: 43.31 kB / 0.6123 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.4359, allocations: 33.7 kB / 0.6123 GB, free: 14.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4361, allocations: 342.8 kB / 0.6127 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.4362, allocations: 52.83 kB / 0.6127 GB, free: 13.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.4364, allocations: 92.23 kB / 0.6128 GB, free: 13.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.4367, allocations: 113.6 kB / 0.6129 GB, free: 13.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4367, allocations: 3.938 kB / 0.6129 GB, free: 13.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003826/0.4371, allocations: 181.1 kB / 0.6131 GB, free: 13.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4371, allocations: 4 kB / 0.6131 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4371, allocations: 0 / 0.6131 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4371, allocations: 4 kB / 0.6131 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.4373, allocations: 23.97 kB / 0.6131 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.4373, allocations: 7.984 kB / 0.6131 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.4375, allocations: 19.89 kB / 0.6131 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.4375, allocations: 4 kB / 0.6131 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002206/0.4377, allocations: 168 kB / 0.6133 GB, free: 13.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000153/0.4379, allocations: 83.86 kB / 0.6134 GB, free: 13.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002564/0.4382, allocations: 113.7 kB / 0.6135 GB, free: 13.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.4382, allocations: 0 / 0.6135 GB, free: 13.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003511/0.4385, allocations: 177.1 kB / 0.6137 GB, free: 12.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.4386, allocations: 7.938 kB / 0.6137 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-06/0.4386, allocations: 4 kB / 0.6137 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-06/0.4386, allocations: 0 / 0.6137 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.4387, allocations: 23.98 kB / 0.6137 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.4387, allocations: 4.109 kB / 0.6137 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.4389, allocations: 19.98 kB / 0.6137 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.4389, allocations: 8 kB / 0.6137 GB, free: 12.82 MB / 462.1 MB 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.000114/0.439, allocations: 190.4 kB / 0.6139 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/0.4391, allocations: 39.47 kB / 0.6139 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.4396, allocations: 220.6 kB / 0.6141 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.4397, allocations: 0 / 0.6141 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4397, allocations: 0 / 0.6141 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4397, allocations: 7.984 kB / 0.6142 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009048/0.4406, allocations: 0.6411 MB / 0.6148 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4406, allocations: 192 / 0.6148 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.4407, allocations: 27.92 kB / 0.6148 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4407, allocations: 3.984 kB / 0.6148 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4407, allocations: 8.094 kB / 0.6148 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4408, allocations: 0 / 0.6148 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4408, allocations: 0 / 0.6148 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.4412, allocations: 325.4 kB / 0.6151 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.4413, allocations: 124.6 kB / 0.6153 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.4414, allocations: 8 kB / 0.6153 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.4416, allocations: 11.98 kB / 0.6153 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.4416, allocations: 15.92 kB / 0.6153 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.4417, allocations: 4 kB / 0.6153 GB, free: 11.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.4419, allocations: 251.2 kB / 0.6155 GB, free: 10.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4419, allocations: 0 / 0.6155 GB, free: 10.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006084/0.4425, allocations: 191.6 kB / 0.6157 GB, free: 10.66 MB / 462.1 MB 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.0005584/0.4431, allocations: 243.2 kB / 0.6159 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000526/0.4436, allocations: 203.7 kB / 0.6161 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4436, allocations: 0 / 0.6161 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.4438, allocations: 79.89 kB / 0.6162 GB, free: 10.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.4446, allocations: 143.8 kB / 0.6164 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009025/0.4456, allocations: 0.5923 MB / 0.6169 GB, free: 9.379 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.4459, allocations: 0.7957 MB / 0.6177 GB, free: 8.555 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.446, allocations: 31.44 kB / 0.6177 GB, free: 8.523 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.446, allocations: 0 / 0.6177 GB, free: 8.523 MB / 462.1 MB Notification: Performance of Templates: time 0.008846/0.4549, allocations: 5.763 MB / 0.6234 GB, free: 2.832 MB / 462.1 MB 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)