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.001318/0.001318, allocations: 106.5 kB / 16.27 MB, free: 5.984 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.00127/0.00127, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8131/0.8131, allocations: 135.1 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 63.91 kB / 0.506 GB, free: 8.367 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3895, allocations: 80.92 MB / 0.585 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.6084/0.9979, allocations: 241.8 MB / 0.8212 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01648/1.014, allocations: 13.53 MB / 0.8344 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002988/1.017, allocations: 63.81 kB / 0.8345 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002789/1.02, allocations: 0.9743 MB / 0.8354 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005234/1.026, allocations: 1.786 MB / 0.8372 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/1.029, allocations: 1.221 MB / 0.8383 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004801/1.034, allocations: 3.303 MB / 0.8416 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/1.035, allocations: 1.069 MB / 0.8426 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01023/1.045, allocations: 4.109 MB / 0.8466 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/1.047, allocations: 0.9125 MB / 0.8475 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002365/1.048, allocations: 78.62 kB / 0.8476 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/1.05, allocations: 1.031 MB / 0.8486 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005126/1.051, allocations: 447 kB / 0.849 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/1.052, allocations: 0.6836 MB / 0.8497 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/1.054, allocations: 1.662 MB / 0.8513 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.054, allocations: 0 / 0.8513 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.236e-06/1.054, allocations: 2.844 kB / 0.8513 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.819e-05/1.054, allocations: 3.938 kB / 0.8513 GB, free: 10.89 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00233/1.057, allocations: 1.629 MB / 0.8529 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.057, allocations: 19.06 kB / 0.8529 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006795/1.057, allocations: 200.9 kB / 0.8531 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/1.059, allocations: 0.8401 MB / 0.8539 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/1.059, allocations: 120.5 kB / 0.8541 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/1.059, allocations: 83.28 kB / 0.8541 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/1.06, allocations: 0.941 MB / 0.8551 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/1.06, allocations: 2.625 kB / 0.8551 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/1.06, allocations: 43.34 kB / 0.8551 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/1.06, allocations: 18.5 kB / 0.8551 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008608/1.061, allocations: 0.5104 MB / 0.8556 GB, free: 7.637 MB / 0.5919 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.005215/1.066, allocations: 4.923 MB / 0.8604 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/1.067, allocations: 434.7 kB / 0.8608 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/1.067, allocations: 290.2 kB / 0.8611 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/1.068, allocations: 103.6 kB / 0.8612 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/1.068, allocations: 55.62 kB / 0.8613 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 2.345e-06/1.068, allocations: 0 / 0.8613 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.00257/1.07, allocations: 0.8694 MB / 0.8621 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/1.071, allocations: 400 kB / 0.8625 GB, free: 104 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.072, allocations: 1.24 MB / 0.8637 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.924e-05/1.072, allocations: 41.7 kB / 0.8638 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/1.073, allocations: 0.5263 MB / 0.8643 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/1.073, allocations: 121.7 kB / 0.8644 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/1.073, allocations: 89.59 kB / 0.8645 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.073, allocations: 320.6 kB / 0.8648 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/1.073, allocations: 112.5 kB / 0.8649 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/1.074, allocations: 341 kB / 0.8652 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/1.074, allocations: 349.5 kB / 0.8655 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.074, allocations: 4 kB / 0.8655 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001333/1.076, allocations: 0.564 MB / 0.8661 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.076, allocations: 4 kB / 0.8661 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.076, allocations: 7.938 kB / 0.8661 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/1.076, allocations: 116.3 kB / 0.8662 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/1.077, allocations: 92.94 kB / 0.8663 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/1.078, allocations: 2.32 MB / 0.8686 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008775/1.079, allocations: 103.4 kB / 0.8687 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/1.079, allocations: 20 kB / 0.8687 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005424/1.08, allocations: 320.8 kB / 0.869 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004019/1.08, allocations: 337.8 kB / 0.8693 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000497/1.081, allocations: 329.9 kB / 0.8696 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/1.081, allocations: 4 kB / 0.8696 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001026/1.082, allocations: 0.4962 MB / 0.8701 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.082, allocations: 12 kB / 0.8701 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.082, allocations: 0 / 0.8701 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/1.082, allocations: 73.67 kB / 0.8702 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/1.082, allocations: 65.39 kB / 0.8703 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/1.085, allocations: 3.269 MB / 0.8735 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009232/1.086, allocations: 63.91 kB / 0.8735 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/1.086, allocations: 20 kB / 0.8735 GB, free: 4.199 MB / 0.6075 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.0002607/1.086, allocations: 218.1 kB / 0.8737 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005359/1.087, allocations: 138.3 kB / 0.8739 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009643/1.088, allocations: 435 kB / 0.8743 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/1.088, allocations: 15.98 kB / 0.8743 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.088, allocations: 4 kB / 0.8743 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.088, allocations: 10.56 kB / 0.8743 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/1.092, allocations: 2.54 MB / 0.8768 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/1.092, allocations: 8.031 kB / 0.8768 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/1.092, allocations: 77.19 kB / 0.8769 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/1.092, allocations: 72.89 kB / 0.877 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/1.092, allocations: 15.98 kB / 0.877 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/1.093, allocations: 2.306 MB / 0.8792 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.093, allocations: 6.938 kB / 0.8792 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/1.095, allocations: 0.7863 MB / 0.88 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/1.095, allocations: 251.3 kB / 0.8802 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/1.095, allocations: 15.94 kB / 0.8802 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/1.096, allocations: 39.95 kB / 0.8803 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/1.096, allocations: 37.16 kB / 0.8803 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/1.096, allocations: 23.98 kB / 0.8803 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001208/1.097, allocations: 0.8644 MB / 0.8812 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/1.097, allocations: 0 / 0.8812 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001506/1.099, allocations: 443.5 kB / 0.8816 GB, free: 11.65 MB / 0.6231 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.000538/1.099, allocations: 228 kB / 0.8818 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001829/1.101, allocations: 0.7477 MB / 0.8826 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.101, allocations: 0 / 0.8826 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005042/1.102, allocations: 202.1 kB / 0.8828 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/1.106, allocations: 0.7539 MB / 0.8835 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/1.108, allocations: 1.9 MB / 0.8853 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/1.109, allocations: 1.127 MB / 0.8864 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/1.109, allocations: 79.44 kB / 0.8865 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of SimCode: time 5.92e-07/1.109, allocations: 4 kB / 0.8865 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of Templates: time 0.04447/1.154, allocations: 36.8 MB / 0.9225 GB, free: 1.953 MB / 0.6544 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)