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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 113.3 kB / 18.7 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006185/0.006185, allocations: 180.5 kB / 21.94 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 250.7 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9996/0.9996, allocations: 175.8 MB / 481.6 MB, free: 7.797 MB / 382.1 MB " [Timeout remaining time 179] 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.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: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 64.59 kB / 0.6701 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4883, allocations: 94.54 MB / 0.7624 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1615/0.6498, allocations: 156.9 MB / 0.9156 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.04523/0.695, allocations: 30.36 MB / 0.9453 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00526/0.7003, allocations: 143.1 kB / 0.9454 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.7035, allocations: 1.067 MB / 0.9464 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008947/0.7125, allocations: 3.269 MB / 0.9496 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00634/0.7188, allocations: 2.534 MB / 0.9521 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008138/0.727, allocations: 5.293 MB / 0.9573 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/0.7304, allocations: 1.834 MB / 0.9591 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00665/0.7371, allocations: 2.802 MB / 0.9618 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003776/0.7408, allocations: 1.988 MB / 0.9638 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008005/0.7416, allocations: 216 kB / 0.964 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.745, allocations: 1.096 MB / 0.965 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.746, allocations: 0.5641 MB / 0.9656 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002285/0.7483, allocations: 1.259 MB / 0.9668 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004505/0.7528, allocations: 3.303 MB / 0.97 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7528, allocations: 0 / 0.97 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7528, allocations: 0 / 0.97 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.812e-05/0.7528, allocations: 0 / 0.97 GB, free: 1.68 MB / 0.7481 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.004799/0.7576, allocations: 2.73 MB / 0.9727 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.7577, allocations: 12.03 kB / 0.9727 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.7581, allocations: 274.3 kB / 0.973 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.7607, allocations: 1.509 MB / 0.9744 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.173e-05/0.7607, allocations: 106.3 kB / 0.9746 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.7609, allocations: 147.9 kB / 0.9747 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.763, allocations: 1.179 MB / 0.9758 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.7631, allocations: 0 / 0.9758 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.7632, allocations: 48 kB / 0.9759 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.7632, allocations: 28 kB / 0.9759 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.7651, allocations: 1.048 MB / 0.9769 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.7754, allocations: 6.312 MB / 0.9831 GB, free: 3.648 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009889/0.7764, allocations: 0.5405 MB / 0.9836 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.7769, allocations: 358.3 kB / 0.984 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004714/0.7774, allocations: 0.5109 MB / 0.9845 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.7775, allocations: 39.12 kB / 0.9845 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001762/0.7792, allocations: 311.3 kB / 0.9848 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=58): time 3.337e-06/0.7792, allocations: 0 / 0.9848 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of matching and sorting (n=58): time 0.002252/0.7815, allocations: 1.173 MB / 0.986 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.7815, allocations: 59.97 kB / 0.986 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/0.784, allocations: 1.83 MB / 0.9878 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.7841, allocations: 49.7 kB / 0.9878 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008153/0.7849, allocations: 0.9155 MB / 0.9887 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.7851, allocations: 210.2 kB / 0.9889 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/0.7856, allocations: 298.7 kB / 0.9892 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.7857, allocations: 345.9 kB / 0.9896 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008143/0.7865, allocations: 453.9 kB / 0.99 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.7876, allocations: 0.6835 MB / 0.9907 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.7892, allocations: 0.9735 MB / 0.9916 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.7892, allocations: 0 / 0.9916 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002579/0.7918, allocations: 1.417 MB / 0.993 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7918, allocations: 10.34 kB / 0.993 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7918, allocations: 4 kB / 0.993 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.7918, allocations: 15.97 kB / 0.993 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.793, allocations: 279.9 kB / 0.9933 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.793, allocations: 15.98 kB / 0.9933 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.7946, allocations: 71.92 kB / 0.9934 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.7947, allocations: 59.94 kB / 0.9934 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00159/0.7963, allocations: 0.7056 MB / 0.9941 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001105/0.7974, allocations: 0.6645 MB / 0.9948 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001543/0.799, allocations: 0.9226 MB / 0.9957 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.799, allocations: 0 / 0.9957 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002445/0.8014, allocations: 1.359 MB / 0.997 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.8014, allocations: 8 kB / 0.997 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.8014, allocations: 0 / 0.997 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.8014, allocations: 8 kB / 0.997 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.8026, allocations: 279.5 kB / 0.9973 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.8026, allocations: 11.98 kB / 0.9973 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.804, allocations: 91.78 kB / 0.9974 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.8041, allocations: 59.94 kB / 0.9974 GB, free: 4.512 MB / 0.7794 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.0003156/0.8044, allocations: 236 kB / 0.9977 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.8047, allocations: 206.6 kB / 0.9978 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.8068, allocations: 1.094 MB / 0.9989 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.8068, allocations: 11.94 kB / 0.9989 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8069, allocations: 0 / 0.9989 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.8069, allocations: 3.984 kB / 0.9989 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.8107, allocations: 2.412 MB / 1.001 GB, free: 480 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.8107, allocations: 0 / 1.001 GB, free: 480 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.8113, allocations: 140 kB / 1.001 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-06/0.8114, allocations: 8 kB / 1.001 GB, free: 332 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.8114, allocations: 19.94 kB / 1.001 GB, free: 312 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.8114, allocations: 11.94 kB / 1.001 GB, free: 300 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8114, allocations: 0 / 1.001 GB, free: 300 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.8131, allocations: 1.075 MB / 1.003 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/0.8138, allocations: 359.5 kB / 1.003 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.814, allocations: 12 kB / 1.003 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006773/0.8147, allocations: 43.95 kB / 1.003 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.8148, allocations: 48.53 kB / 1.003 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.732e-05/0.8149, allocations: 31.98 kB / 1.003 GB, free: 14.67 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001725/0.8166, allocations: 1.199 MB / 1.004 GB, free: 13.46 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.8166, allocations: 4 kB / 1.004 GB, free: 13.45 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00201/0.8186, allocations: 0.8851 MB / 1.005 GB, free: 12.57 MB / 0.795 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.0007112/0.8193, allocations: 347.3 kB / 1.005 GB, free: 12.23 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.822, allocations: 1.504 MB / 1.007 GB, free: 10.73 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.822, allocations: 1.5 kB / 1.007 GB, free: 10.73 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006185/0.8226, allocations: 371.8 kB / 1.007 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003906/0.8265, allocations: 1.084 MB / 1.008 GB, free: 9.312 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.8314, allocations: 3.045 MB / 1.011 GB, free: 6.203 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.8324, allocations: 1.389 MB / 1.013 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005497/0.8329, allocations: 167.4 kB / 1.013 GB, free: 4.613 MB / 0.795 GB Notification: Performance of SimCode: time 1.042e-06/0.8329, allocations: 0 / 1.013 GB, free: 4.613 MB / 0.795 GB Notification: Performance of Templates: time 0.04553/0.8785, allocations: 30.83 MB / 1.043 GB, free: 6.113 MB / 0.8262 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: 13.294013551902026] Failed to read output from testmodel.py, exit status != 0: 0.8869790129829198 0.900353136 0.14441551400000002 Calling exit ...