Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 197.6 kB / 16.79 MB, free: 6.809 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.37/1.37, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9557/0.9557, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001176, allocations: 68.77 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1643, allocations: 80.92 MB / 0.5843 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.5195/0.6839, allocations: 239.6 MB / 0.8184 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01802/0.702, allocations: 13.6 MB / 0.8316 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.7045, allocations: 55.56 kB / 0.8317 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.7075, allocations: 0.8159 MB / 0.8325 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005024/0.7126, allocations: 1.693 MB / 0.8341 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.7158, allocations: 1.12 MB / 0.8352 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005798/0.7216, allocations: 4.644 MB / 0.8398 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.7233, allocations: 0.9039 MB / 0.8407 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009736/0.733, allocations: 3.837 MB / 0.8444 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.735, allocations: 0.9684 MB / 0.8454 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.7353, allocations: 52 kB / 0.8454 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.7378, allocations: 1.239 MB / 0.8466 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000461/0.7383, allocations: 430.5 kB / 0.847 GB, free: 176 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008862/0.7392, allocations: 0.6567 MB / 0.8477 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.7407, allocations: 1.177 MB / 0.8488 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7407, allocations: 4 kB / 0.8488 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7407, allocations: 0 / 0.8488 GB, free: 14.33 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.7408, allocations: 0 / 0.8488 GB, free: 14.33 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002401/0.7432, allocations: 1.641 MB / 0.8504 GB, free: 12.64 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.7432, allocations: 12.03 kB / 0.8504 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006845/0.7439, allocations: 202.1 kB / 0.8506 GB, free: 12.43 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.7451, allocations: 0.8347 MB / 0.8514 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.7453, allocations: 125.4 kB / 0.8516 GB, free: 11.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.7454, allocations: 84 kB / 0.8516 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.7468, allocations: 0.9338 MB / 0.8526 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.7469, allocations: 3.938 kB / 0.8526 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-05/0.747, allocations: 40 kB / 0.8526 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.747, allocations: 20 kB / 0.8526 GB, free: 10.23 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008741/0.7479, allocations: 0.5125 MB / 0.8531 GB, free: 9.727 MB / 0.67 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.004804/0.7527, allocations: 4.904 MB / 0.8579 GB, free: 4.508 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.7532, allocations: 432.7 kB / 0.8583 GB, free: 3.957 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003926/0.7537, allocations: 282 kB / 0.8586 GB, free: 3.641 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.7539, allocations: 121.1 kB / 0.8587 GB, free: 3.504 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.7539, allocations: 59.36 kB / 0.8588 GB, free: 3.438 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 2.435e-06/0.7539, allocations: 0 / 0.8588 GB, free: 3.438 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.002373/0.7563, allocations: 0.8624 MB / 0.8596 GB, free: 2.531 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001825/0.7565, allocations: 401.5 kB / 0.86 GB, free: 2.047 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.758, allocations: 1.235 MB / 0.8612 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.758, allocations: 41.7 kB / 0.8612 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004663/0.7585, allocations: 0.5273 MB / 0.8617 GB, free: 228 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.7586, allocations: 126.2 kB / 0.8619 GB, free: 100 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.7588, allocations: 85.59 kB / 0.8619 GB, free: 8 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.306/1.065, allocations: 316.3 kB / 0.8622 GB, free: 224.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/1.065, allocations: 111.4 kB / 0.8624 GB, free: 224.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/1.066, allocations: 343.8 kB / 0.8627 GB, free: 224.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/1.066, allocations: 353.4 kB / 0.863 GB, free: 224.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.066, allocations: 0 / 0.863 GB, free: 224.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001465/1.068, allocations: 0.5609 MB / 0.8636 GB, free: 224.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/1.068, allocations: 10.31 kB / 0.8636 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.068, allocations: 2.875 kB / 0.8636 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/1.069, allocations: 117.6 kB / 0.8637 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/1.069, allocations: 92.78 kB / 0.8638 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/1.07, allocations: 2.311 MB / 0.866 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009212/1.071, allocations: 112.8 kB / 0.8661 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/1.071, allocations: 23.34 kB / 0.8662 GB, free: 222 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005494/1.072, allocations: 318 kB / 0.8665 GB, free: 221.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003214/1.072, allocations: 333 kB / 0.8668 GB, free: 221.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004129/1.072, allocations: 340.9 kB / 0.8671 GB, free: 221.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.249e-06/1.072, allocations: 2.594 kB / 0.8671 GB, free: 221.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001053/1.073, allocations: 0.4976 MB / 0.8676 GB, free: 221.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.074, allocations: 6.062 kB / 0.8676 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.074, allocations: 9.594 kB / 0.8676 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/1.074, allocations: 78.11 kB / 0.8677 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/1.074, allocations: 57.23 kB / 0.8677 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/1.076, allocations: 2.925 MB / 0.8706 GB, free: 218.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009049/1.077, allocations: 79.11 kB / 0.8707 GB, free: 218.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/1.077, allocations: 19.38 kB / 0.8707 GB, free: 218.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002043/1.077, allocations: 220 kB / 0.8709 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/1.078, allocations: 139.8 kB / 0.871 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008564/1.079, allocations: 442.3 kB / 0.8715 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/1.079, allocations: 8.625 kB / 0.8715 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.079, allocations: 11.78 kB / 0.8715 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.079, allocations: 2.969 kB / 0.8715 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/1.082, allocations: 2.548 MB / 0.874 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.082, allocations: 5.812 kB / 0.874 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/1.082, allocations: 71.53 kB / 0.874 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/1.082, allocations: 81.22 kB / 0.8741 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/1.082, allocations: 15.05 kB / 0.8741 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007807/1.083, allocations: 2.305 MB / 0.8764 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.083, allocations: 10.09 kB / 0.8764 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008708/1.084, allocations: 0.7749 MB / 0.8772 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/1.084, allocations: 253.5 kB / 0.8774 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/1.085, allocations: 12.95 kB / 0.8774 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/1.085, allocations: 60.44 kB / 0.8775 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/1.085, allocations: 42.64 kB / 0.8775 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/1.086, allocations: 21.62 kB / 0.8775 GB, free: 213.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001079/1.087, allocations: 0.8625 MB / 0.8784 GB, free: 213.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.8e-07/1.087, allocations: 0 / 0.8784 GB, free: 213.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001549/1.088, allocations: 450.7 kB / 0.8788 GB, free: 213.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005436/1.089, allocations: 230.2 kB / 0.879 GB, free: 213 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001705/1.09, allocations: 0.7423 MB / 0.8797 GB, free: 212.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.09, allocations: 2.812 kB / 0.8797 GB, free: 212.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/1.091, allocations: 189.3 kB / 0.8799 GB, free: 212.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003705/1.095, allocations: 0.7523 MB / 0.8807 GB, free: 212.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/1.097, allocations: 2.234 MB / 0.8828 GB, free: 211 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/1.098, allocations: 1.137 MB / 0.8839 GB, free: 210.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/1.098, allocations: 79.72 kB / 0.884 GB, free: 210.3 MB / 0.67 GB Notification: Performance of SimCode: time 8.62e-07/1.098, allocations: 0 / 0.884 GB, free: 210.3 MB / 0.67 GB Notification: Performance of Templates: time 0.04648/1.145, allocations: 36.87 MB / 0.92 GB, free: 200.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)