Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.001627/0.001627, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001785/0.001785, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.442/1.442, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.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 1.156/1.156, allocations: 173.4 MB / 471.3 MB, free: 6.613 MB / 366.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.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 65.89 kB / 0.649 GB, free: 23.09 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1951, allocations: 89.52 MB / 0.7364 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1261/0.3211, allocations: 112.5 MB / 0.8463 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4328/0.754, allocations: 20.08 MB / 0.8659 GB, free: 31.37 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004573/0.7586, allocations: 110.3 kB / 0.866 GB, free: 31.37 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004114/0.7628, allocations: 1.268 MB / 0.8672 GB, free: 31.37 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.7741, allocations: 3.654 MB / 0.8708 GB, free: 31.37 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008684/0.7828, allocations: 3.117 MB / 0.8738 GB, free: 31.34 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01267/0.7955, allocations: 7.152 MB / 0.8808 GB, free: 31.33 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005485/0.801, allocations: 2.565 MB / 0.8833 GB, free: 30.97 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009499/0.8106, allocations: 2.981 MB / 0.8862 GB, free: 30.86 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004758/0.8153, allocations: 2.063 MB / 0.8883 GB, free: 30.49 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0009392/0.8163, allocations: 252.5 kB / 0.8885 GB, free: 30.49 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004957/0.8213, allocations: 1.643 MB / 0.8901 GB, free: 30.46 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009572/0.8223, allocations: 0.6864 MB / 0.8908 GB, free: 30.35 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002902/0.8252, allocations: 1.495 MB / 0.8922 GB, free: 29.93 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006967/0.8322, allocations: 4.373 MB / 0.8965 GB, free: 29.32 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.8322, allocations: 1.266 kB / 0.8965 GB, free: 29.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8322, allocations: 0 / 0.8965 GB, free: 29.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.752e-05/0.8323, allocations: 1.375 kB / 0.8965 GB, free: 29.32 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.00585/0.8382, allocations: 3.28 MB / 0.8997 GB, free: 27.76 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.8382, allocations: 8.406 kB / 0.8997 GB, free: 27.76 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008815/0.8391, allocations: 330.4 kB / 0.9 GB, free: 27.6 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/0.8426, allocations: 2.211 MB / 0.9022 GB, free: 26.99 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.8427, allocations: 124.1 kB / 0.9023 GB, free: 26.98 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.8429, allocations: 168.8 kB / 0.9025 GB, free: 26.98 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.8454, allocations: 1.61 MB / 0.904 GB, free: 26.78 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.239e-05/0.8455, allocations: 4.5 kB / 0.9041 GB, free: 26.78 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.8456, allocations: 66.69 kB / 0.9041 GB, free: 26.78 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/0.8457, allocations: 40.44 kB / 0.9042 GB, free: 26.78 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.8476, allocations: 1.149 MB / 0.9053 GB, free: 26.76 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.009399/0.857, allocations: 8.144 MB / 0.9132 GB, free: 22.52 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.8577, allocations: 475.6 kB / 0.9137 GB, free: 22.43 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/0.8581, allocations: 321.6 kB / 0.914 GB, free: 22.39 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/0.8586, allocations: 0.7535 MB / 0.9147 GB, free: 21.52 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.8586, allocations: 43.22 kB / 0.9148 GB, free: 21.48 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.364e-06/0.8586, allocations: 7.75 kB / 0.9148 GB, free: 21.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001969/0.8606, allocations: 0.996 MB / 0.9157 GB, free: 21.19 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.8607, allocations: 58.34 kB / 0.9158 GB, free: 21.12 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.8634, allocations: 2.294 MB / 0.918 GB, free: 19.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.8636, allocations: 42.7 kB / 0.9181 GB, free: 19.86 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006773/0.8643, allocations: 1.155 MB / 0.9192 GB, free: 18.85 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.8645, allocations: 227.2 kB / 0.9194 GB, free: 18.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/0.8648, allocations: 260.7 kB / 0.9197 GB, free: 18.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.8649, allocations: 342.6 kB / 0.92 GB, free: 18.17 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.8655, allocations: 365.9 kB / 0.9204 GB, free: 17.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007468/0.8662, allocations: 0.7525 MB / 0.9211 GB, free: 17.33 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.8674, allocations: 0.9787 MB / 0.922 GB, free: 16.66 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.8674, allocations: 3 kB / 0.922 GB, free: 16.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002107/0.8695, allocations: 1.298 MB / 0.9233 GB, free: 16.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.8695, allocations: 12.28 kB / 0.9233 GB, free: 16.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.8696, allocations: 11.94 kB / 0.9233 GB, free: 16.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.8696, allocations: 13.5 kB / 0.9234 GB, free: 16.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/0.8705, allocations: 256.1 kB / 0.9236 GB, free: 16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.8705, allocations: 20.42 kB / 0.9236 GB, free: 16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.8729, allocations: 161.4 kB / 0.9238 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.873, allocations: 56.98 kB / 0.9238 GB, free: 15.88 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002019/0.8751, allocations: 0.7506 MB / 0.9246 GB, free: 15.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001144/0.8762, allocations: 0.7439 MB / 0.9253 GB, free: 14.77 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001839/0.8781, allocations: 0.9478 MB / 0.9262 GB, free: 14.11 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.795e-06/0.8781, allocations: 6.281 kB / 0.9262 GB, free: 14.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.003587/0.8817, allocations: 1.273 MB / 0.9275 GB, free: 13.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.8818, allocations: 7.938 kB / 0.9275 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.8818, allocations: 8.406 kB / 0.9275 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.8818, allocations: 19.16 kB / 0.9275 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.8833, allocations: 251.6 kB / 0.9277 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.8834, allocations: 23.02 kB / 0.9278 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.886, allocations: 126.8 kB / 0.9279 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.8862, allocations: 50.98 kB / 0.9279 GB, free: 13.36 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.0003496/0.8865, allocations: 244.5 kB / 0.9282 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006062/0.8872, allocations: 251.5 kB / 0.9284 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.8896, allocations: 0.8793 MB / 0.9293 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.8897, allocations: 7.562 kB / 0.9293 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8897, allocations: 4 kB / 0.9293 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001504/0.8912, allocations: 0.6829 MB / 0.9299 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005566/0.8968, allocations: 2.56 MB / 0.9324 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.8968, allocations: 2.5 kB / 0.9324 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/0.8977, allocations: 134 kB / 0.9326 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.8977, allocations: 2.5 kB / 0.9326 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.8978, allocations: 17.86 kB / 0.9326 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.8978, allocations: 9.375 kB / 0.9326 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8978, allocations: 0 / 0.9326 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003033/0.9009, allocations: 1.323 MB / 0.9339 GB, free: 9.285 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.902, allocations: 419.3 kB / 0.9343 GB, free: 8.855 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/0.9024, allocations: 16 kB / 0.9343 GB, free: 8.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/0.904, allocations: 47.94 kB / 0.9343 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.9042, allocations: 40.52 kB / 0.9344 GB, free: 8.754 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/0.9043, allocations: 35.97 kB / 0.9344 GB, free: 8.719 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002973/0.9073, allocations: 1.532 MB / 0.9359 GB, free: 7.184 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9073, allocations: 0 / 0.9359 GB, free: 7.184 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004268/0.9116, allocations: 1.119 MB / 0.937 GB, free: 6.062 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * 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.003064/0.9147, allocations: 0.7567 MB / 0.9377 GB, free: 5.504 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003785/0.9185, allocations: 1.355 MB / 0.9391 GB, free: 4.215 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.9185, allocations: 0 / 0.9391 GB, free: 4.215 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007602/0.9193, allocations: 331.2 kB / 0.9394 GB, free: 3.91 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009409/0.9287, allocations: 1.383 MB / 0.9407 GB, free: 2.57 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00841/0.9372, allocations: 3.771 MB / 0.9444 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/0.9388, allocations: 1.57 MB / 0.946 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007077/0.9396, allocations: 183.4 kB / 0.9461 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.9396, allocations: 0 / 0.9461 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of Templates: time 0.06097/1.001, allocations: 39.56 MB / 0.9848 GB, free: 5.91 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.369097226997837] Failed to read output from testmodel.py, exit status != 0: 1.0072411571163684 1.021100231 0.186195663 Calling exit ...