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.001216/0.001216, allocations: 105.7 kB / 16.37 MB, free: 6.477 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.001189/0.001189, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7416/0.7416, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.84 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3212, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01189/0.3331, allocations: 15.04 MB / 0.6005 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004018/0.3371, allocations: 3.88 MB / 0.6042 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005845/0.3378, allocations: 26.5 kB / 0.6043 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005529/0.3383, allocations: 194.7 kB / 0.6045 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.3399, allocations: 0.6736 MB / 0.6051 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3411, allocations: 477.7 kB / 0.6056 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.3422, allocations: 1.088 MB / 0.6066 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004744/0.3427, allocations: 283.2 kB / 0.6069 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006931/0.3434, allocations: 401 kB / 0.6073 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.3439, allocations: 266.8 kB / 0.6075 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.3439, allocations: 20 kB / 0.6076 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.3453, allocations: 0.722 MB / 0.6083 GB, free: 3.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.3454, allocations: 75.67 kB / 0.6083 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.3456, allocations: 183.9 kB / 0.6085 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.3467, allocations: 0.7243 MB / 0.6092 GB, free: 2.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3467, allocations: 4 kB / 0.6092 GB, free: 2.523 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3467, allocations: 1.188 kB / 0.6092 GB, free: 2.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3467, allocations: 0 / 0.6092 GB, free: 2.523 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.001052/0.3478, allocations: 0.7487 MB / 0.61 GB, free: 1.723 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3478, allocations: 14.61 kB / 0.61 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.34e-05/0.3479, allocations: 44.38 kB / 0.61 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009033/0.3489, allocations: 0.5116 MB / 0.6105 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3489, allocations: 12.33 kB / 0.6105 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.3489, allocations: 20 kB / 0.6105 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.3492, allocations: 183.8 kB / 0.6107 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3493, allocations: 0 / 0.6107 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.3493, allocations: 4 kB / 0.6107 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3493, allocations: 4 kB / 0.6107 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.3496, allocations: 140.2 kB / 0.6109 GB, free: 0.7695 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.001031/0.3506, allocations: 0.8564 MB / 0.6117 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.3509, allocations: 118.6 kB / 0.6118 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.3511, allocations: 73.69 kB / 0.6119 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/0.3514, allocations: 340 kB / 0.6122 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.3514, allocations: 34.56 kB / 0.6122 GB, free: 15.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.3514, allocations: 0 / 0.6122 GB, free: 15.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005818/0.352, allocations: 224.5 kB / 0.6124 GB, free: 14.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.3521, allocations: 51.41 kB / 0.6125 GB, free: 14.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.3524, allocations: 349.6 kB / 0.6128 GB, free: 14.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3525, allocations: 33.7 kB / 0.6129 GB, free: 14.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.3526, allocations: 184.4 kB / 0.613 GB, free: 14.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.3527, allocations: 47.3 kB / 0.6131 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.3527, allocations: 33.7 kB / 0.6131 GB, free: 14.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3529, allocations: 342.8 kB / 0.6134 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.353, allocations: 52.83 kB / 0.6135 GB, free: 13.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.3532, allocations: 88.25 kB / 0.6136 GB, free: 13.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.3535, allocations: 117.6 kB / 0.6137 GB, free: 13.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3535, allocations: 0 / 0.6137 GB, free: 13.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003716/0.3539, allocations: 193.1 kB / 0.6139 GB, free: 13.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3539, allocations: 6.188 kB / 0.6139 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3539, allocations: 0 / 0.6139 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3539, allocations: 4 kB / 0.6139 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.354, allocations: 27.92 kB / 0.6139 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3541, allocations: 3.984 kB / 0.6139 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.3542, allocations: 19.89 kB / 0.6139 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.3543, allocations: 4 kB / 0.6139 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002065/0.3545, allocations: 164.1 kB / 0.6141 GB, free: 13.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001356/0.3546, allocations: 80.25 kB / 0.6142 GB, free: 13.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002298/0.3549, allocations: 117.6 kB / 0.6143 GB, free: 12.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.3549, allocations: 3.938 kB / 0.6143 GB, free: 12.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003237/0.3552, allocations: 173.2 kB / 0.6145 GB, free: 12.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.3552, allocations: 11.94 kB / 0.6145 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.3552, allocations: 0 / 0.6145 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-06/0.3552, allocations: 0 / 0.6145 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3554, allocations: 23.98 kB / 0.6145 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.3554, allocations: 0 / 0.6145 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.3555, allocations: 15.97 kB / 0.6145 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3556, allocations: 12 kB / 0.6145 GB, free: 12.72 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.0001218/0.3557, allocations: 194.3 kB / 0.6147 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.3558, allocations: 39.47 kB / 0.6147 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/0.3563, allocations: 224.8 kB / 0.615 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3563, allocations: 0 / 0.615 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3563, allocations: 0 / 0.615 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3563, allocations: 4 kB / 0.615 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008755/0.3572, allocations: 0.6333 MB / 0.6156 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3572, allocations: 3.984 kB / 0.6156 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3573, allocations: 23.98 kB / 0.6156 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3573, allocations: 0 / 0.6156 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3573, allocations: 4 kB / 0.6156 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3573, allocations: 8.031 kB / 0.6156 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3573, allocations: 4 kB / 0.6156 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.3578, allocations: 309.5 kB / 0.6159 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3579, allocations: 132.6 kB / 0.616 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.3579, allocations: 4 kB / 0.616 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3581, allocations: 15.97 kB / 0.6161 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.3582, allocations: 19.8 kB / 0.6161 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.3582, allocations: 16.06 kB / 0.6161 GB, free: 10.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.3584, allocations: 243.2 kB / 0.6163 GB, free: 10.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3585, allocations: 0 / 0.6163 GB, free: 10.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005631/0.359, allocations: 195.6 kB / 0.6165 GB, free: 10.56 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.0005338/0.3596, allocations: 240.3 kB / 0.6167 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005036/0.3601, allocations: 187.8 kB / 0.6169 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3601, allocations: 4 kB / 0.6169 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.3603, allocations: 75.89 kB / 0.617 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007517/0.361, allocations: 152.1 kB / 0.6171 GB, free: 9.922 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.3619, allocations: 0.5593 MB / 0.6177 GB, free: 9.324 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3623, allocations: 0.7918 MB / 0.6185 GB, free: 8.504 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.3625, allocations: 80.59 kB / 0.6185 GB, free: 8.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.3626, allocations: 27.44 kB / 0.6186 GB, free: 8.402 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3626, allocations: 0 / 0.6186 GB, free: 8.402 MB / 462.1 MB Notification: Performance of Templates: time 0.01189/0.3745, allocations: 6.567 MB / 0.625 GB, free: 1.945 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)