Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008332/0.0008332, allocations: 115 kB / 19.7 MB, free: 0.5234 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008778/0.0008778, allocations: 211.7 kB / 23.01 MB, free: 3.098 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8539/0.8539, allocations: 230.6 MB / 256.8 MB, free: 3.457 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7371/0.7371, allocations: 203.8 MB / 0.5049 GB, free: 0.707 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009643/0.0009643, allocations: 63.91 kB / 0.7195 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3998, allocations: 102 MB / 0.8191 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.09096/0.4908, allocations: 157.5 MB / 0.9729 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02635/0.5171, allocations: 30.42 MB / 1.003 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.5198, allocations: 194.2 kB / 1.003 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.5215, allocations: 1.067 MB / 1.004 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.5259, allocations: 3.324 MB / 1.007 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.5289, allocations: 2.595 MB / 1.01 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003383/0.5323, allocations: 5.353 MB / 1.015 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.5337, allocations: 1.847 MB / 1.017 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.5368, allocations: 2.891 MB / 1.02 GB, free: 5.41 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.5382, allocations: 1.988 MB / 1.021 GB, free: 3.414 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.5385, allocations: 216 kB / 1.022 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.5397, allocations: 1.116 MB / 1.023 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003443/0.5401, allocations: 0.5719 MB / 1.023 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.5408, allocations: 1.248 MB / 1.025 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.5432, allocations: 3.318 MB / 1.028 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5432, allocations: 0 / 1.028 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5432, allocations: 0 / 1.028 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.5432, allocations: 0 / 1.028 GB, free: 12.93 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002497/0.5457, allocations: 2.655 MB / 1.03 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.5458, allocations: 13.47 kB / 1.03 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.546, allocations: 266.4 kB / 1.031 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.5476, allocations: 1.417 MB / 1.032 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.5476, allocations: 102.3 kB / 1.032 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.5477, allocations: 136 kB / 1.032 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.5491, allocations: 1.183 MB / 1.033 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.5492, allocations: 3.938 kB / 1.033 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.5492, allocations: 52 kB / 1.033 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.5492, allocations: 31.94 kB / 1.033 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.5504, allocations: 1.04 MB / 1.034 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005425/0.5558, allocations: 6.242 MB / 1.041 GB, free: 15.18 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.5565, allocations: 0.5412 MB / 1.041 GB, free: 14.63 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.5568, allocations: 358.1 kB / 1.041 GB, free: 14.28 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.557, allocations: 68.42 kB / 1.042 GB, free: 14.21 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.557, allocations: 43.06 kB / 1.042 GB, free: 14.16 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007183/0.5577, allocations: 315.3 kB / 1.042 GB, free: 13.85 MB / 0.823 GB Notification: Performance of pre-optimization done (n=58): time 1.824e-06/0.5577, allocations: 0 / 1.042 GB, free: 13.85 MB / 0.823 GB Notification: Performance of matching and sorting (n=58): time 0.001293/0.559, allocations: 1.167 MB / 1.043 GB, free: 12.68 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.559, allocations: 55.91 kB / 1.043 GB, free: 12.61 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.5604, allocations: 1.841 MB / 1.045 GB, free: 10.74 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.5605, allocations: 45.7 kB / 1.045 GB, free: 10.69 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/0.561, allocations: 0.9156 MB / 1.046 GB, free: 9.77 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.5611, allocations: 222.1 kB / 1.046 GB, free: 9.551 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.5613, allocations: 290.7 kB / 1.046 GB, free: 9.262 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002674/0.5616, allocations: 353.9 kB / 1.047 GB, free: 8.91 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.5621, allocations: 449.9 kB / 1.047 GB, free: 8.465 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/0.5627, allocations: 0.6878 MB / 1.048 GB, free: 7.699 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.5637, allocations: 0.9732 MB / 1.049 GB, free: 6.688 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5637, allocations: 0 / 1.049 GB, free: 6.688 MB / 0.823 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001454/0.5652, allocations: 1.413 MB / 1.05 GB, free: 5.266 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5652, allocations: 10.03 kB / 1.05 GB, free: 5.258 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5652, allocations: 0 / 1.05 GB, free: 5.258 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5652, allocations: 8.375 kB / 1.05 GB, free: 5.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.5658, allocations: 283.5 kB / 1.05 GB, free: 4.973 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.5658, allocations: 11.94 kB / 1.05 GB, free: 4.961 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.5664, allocations: 71.92 kB / 1.05 GB, free: 4.891 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/0.5665, allocations: 67.94 kB / 1.05 GB, free: 4.824 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007566/0.5672, allocations: 0.7017 MB / 1.051 GB, free: 4.117 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006088/0.5678, allocations: 0.6606 MB / 1.052 GB, free: 3.375 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009255/0.5688, allocations: 0.9185 MB / 1.053 GB, free: 2.414 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.5688, allocations: 0 / 1.053 GB, free: 2.414 MB / 0.823 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001505/0.5703, allocations: 1.359 MB / 1.054 GB, free: 1.047 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.5703, allocations: 8 kB / 1.054 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5703, allocations: 7.938 kB / 1.054 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.5703, allocations: 8 kB / 1.054 GB, free: 1.023 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.5708, allocations: 267.6 kB / 1.054 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5709, allocations: 15.88 kB / 1.054 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.5714, allocations: 96.05 kB / 1.054 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/0.5715, allocations: 55.95 kB / 1.054 GB, free: 0.5977 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * 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.0001434/0.5716, allocations: 244.5 kB / 1.055 GB, free: 364 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.5718, allocations: 206.6 kB / 1.055 GB, free: 156 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.573, allocations: 1.087 MB / 1.056 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.573, allocations: 12 kB / 1.056 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.573, allocations: 3.938 kB / 1.056 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.573, allocations: 3.984 kB / 1.056 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.5752, allocations: 2.392 MB / 1.058 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5752, allocations: 0 / 1.058 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.5755, allocations: 139.8 kB / 1.058 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5755, allocations: 8 kB / 1.058 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.5755, allocations: 19.98 kB / 1.058 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5755, allocations: 4 kB / 1.058 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5755, allocations: 7.938 kB / 1.058 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.5764, allocations: 1.079 MB / 1.06 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.5767, allocations: 266.5 kB / 1.06 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.5768, allocations: 23.98 kB / 1.06 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.5772, allocations: 31.97 kB / 1.06 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.5773, allocations: 68.36 kB / 1.06 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.5773, allocations: 24 kB / 1.06 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001106/0.5784, allocations: 1.211 MB / 1.061 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.5784, allocations: 4 kB / 1.061 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001099/0.5795, allocations: 0.9006 MB / 1.062 GB, free: 8.754 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003678/0.5799, allocations: 329.7 kB / 1.062 GB, free: 8.426 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.5815, allocations: 1.5 MB / 1.064 GB, free: 6.926 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.5815, allocations: 1.5 kB / 1.064 GB, free: 6.926 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.5818, allocations: 371.9 kB / 1.064 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.5839, allocations: 1.082 MB / 1.065 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.5868, allocations: 3.038 MB / 1.068 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.5874, allocations: 1.385 MB / 1.07 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.5877, allocations: 171.4 kB / 1.07 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.5877, allocations: 0 / 1.07 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of Templates: time 0.02498/0.6126, allocations: 30.85 MB / 1.1 GB, free: 2.297 MB / 0.8698 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.592177822021767] Failed to read output from testmodel.py, exit status != 0: 0.618303646100685 0.625624867 0.080725261 Calling exit ...