Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.001673/0.001673, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.00226/0.00226, allocations: 218 kB / 23.01 MB, free: 4.605 MB / 14.72 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 1.627/1.627, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8645/0.8645, allocations: 134 MB / 447.2 MB, free: 10.24 MB / 350.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/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.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") [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.002021/0.002021, allocations: 62 kB / 0.6198 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1984, allocations: 85.92 MB / 0.7037 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5216/0.7199, allocations: 115.1 MB / 0.8161 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03497/0.7549, allocations: 20.41 MB / 0.836 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006063/0.761, allocations: 149.7 kB / 0.8362 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005/0.766, allocations: 1.328 MB / 0.8374 GB, free: 376 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.7795, allocations: 3.981 MB / 0.8413 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009217/0.7887, allocations: 3.221 MB / 0.8445 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01351/0.8023, allocations: 7.376 MB / 0.8517 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005036/0.8073, allocations: 2.014 MB / 0.8537 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008718/0.816, allocations: 2.961 MB / 0.8565 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005309/0.8213, allocations: 2.233 MB / 0.8587 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.8226, allocations: 256 kB / 0.859 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006329/0.829, allocations: 1.747 MB / 0.8607 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00229/0.8312, allocations: 0.7314 MB / 0.8614 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005153/0.8364, allocations: 1.512 MB / 0.8629 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009967/0.8464, allocations: 4.514 MB / 0.8673 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8464, allocations: 4 kB / 0.8673 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8464, allocations: 0 / 0.8673 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001143/0.8465, allocations: 0 / 0.8673 GB, free: 2.641 MB / 0.6231 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.007036/0.8535, allocations: 3.276 MB / 0.8705 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.8536, allocations: 8.031 kB / 0.8705 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009634/0.8545, allocations: 341.9 kB / 0.8708 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004572/0.8591, allocations: 2.148 MB / 0.8729 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.8592, allocations: 127 kB / 0.873 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.8595, allocations: 175.9 kB / 0.8732 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/0.8625, allocations: 1.612 MB / 0.8748 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.8625, allocations: 4 kB / 0.8748 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.8627, allocations: 67.94 kB / 0.8748 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/0.8627, allocations: 36 kB / 0.8749 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.8649, allocations: 1.151 MB / 0.876 GB, free: 9.5 MB / 0.6387 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.01313/0.878, allocations: 7.84 MB / 0.8837 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008528/0.8788, allocations: 438.3 kB / 0.8841 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000515/0.8794, allocations: 298.8 kB / 0.8844 GB, free: 436 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003461/0.8797, allocations: 84.42 kB / 0.8844 GB, free: 352 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.8798, allocations: 43.06 kB / 0.8845 GB, free: 300 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.785e-06/0.8798, allocations: 0 / 0.8845 GB, free: 300 kB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002428/0.8822, allocations: 0.9992 MB / 0.8855 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.8822, allocations: 59.91 kB / 0.8855 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/0.8859, allocations: 2.364 MB / 0.8878 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.886, allocations: 45.7 kB / 0.8879 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.8872, allocations: 1.175 MB / 0.889 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.8874, allocations: 226.1 kB / 0.8892 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003849/0.8878, allocations: 258.7 kB / 0.8895 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.888, allocations: 345.9 kB / 0.8898 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.8887, allocations: 369.7 kB / 0.8902 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.8898, allocations: 0.7463 MB / 0.8909 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.8914, allocations: 0.9899 MB / 0.8919 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.8914, allocations: 4 kB / 0.8919 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002701/0.8941, allocations: 1.305 MB / 0.8931 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.8941, allocations: 14.38 kB / 0.8931 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.8941, allocations: 8 kB / 0.8932 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.8941, allocations: 12 kB / 0.8932 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/0.8951, allocations: 251.6 kB / 0.8934 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/0.8952, allocations: 23.92 kB / 0.8934 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.8968, allocations: 170.8 kB / 0.8936 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.8969, allocations: 55.98 kB / 0.8936 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001484/0.8984, allocations: 0.7602 MB / 0.8944 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00102/0.8994, allocations: 0.731 MB / 0.8951 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001473/0.9009, allocations: 0.9601 MB / 0.896 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.858e-06/0.9009, allocations: 0 / 0.896 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.00253/0.9034, allocations: 1.271 MB / 0.8973 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9034, allocations: 8 kB / 0.8973 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.9034, allocations: 12 kB / 0.8973 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.9035, allocations: 12 kB / 0.8973 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.9044, allocations: 255.6 kB / 0.8976 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/0.9044, allocations: 19.92 kB / 0.8976 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.906, allocations: 131.7 kB / 0.8977 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/0.9061, allocations: 51.98 kB / 0.8977 GB, free: 2.07 MB / 0.6544 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.0003565/0.9064, allocations: 250.1 kB / 0.898 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004457/0.9069, allocations: 246.4 kB / 0.8982 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.9087, allocations: 0.8956 MB / 0.8991 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.9087, allocations: 8 kB / 0.8991 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.9088, allocations: 3.938 kB / 0.8991 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/0.9098, allocations: 0.6953 MB / 0.8998 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004445/0.9143, allocations: 2.575 MB / 0.9023 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.9143, allocations: 4 kB / 0.9023 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.9148, allocations: 123.9 kB / 0.9024 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.9148, allocations: 4 kB / 0.9024 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.9149, allocations: 16.09 kB / 0.9024 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.9149, allocations: 7.984 kB / 0.9024 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/0.9149, allocations: 11.94 kB / 0.9025 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.9171, allocations: 1.337 MB / 0.9038 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008897/0.918, allocations: 352.1 kB / 0.9041 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.9182, allocations: 12 kB / 0.9041 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008752/0.9191, allocations: 47.88 kB / 0.9042 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.9192, allocations: 44.36 kB / 0.9042 GB, free: 11.31 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/0.9193, allocations: 39.97 kB / 0.9042 GB, free: 11.27 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0024/0.9217, allocations: 1.582 MB / 0.9058 GB, free: 9.688 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.9217, allocations: 0 / 0.9058 GB, free: 9.688 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00289/0.9246, allocations: 1.123 MB / 0.9069 GB, free: 8.562 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.002188/0.9267, allocations: 0.7365 MB / 0.9076 GB, free: 7.973 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00267/0.9294, allocations: 1.284 MB / 0.9089 GB, free: 6.691 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9294, allocations: 5.625 kB / 0.9089 GB, free: 6.688 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005437/0.93, allocations: 306.8 kB / 0.9091 GB, free: 6.391 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005578/0.9355, allocations: 1.383 MB / 0.9105 GB, free: 5.051 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006748/0.9423, allocations: 3.827 MB / 0.9142 GB, free: 1.168 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.9436, allocations: 1.59 MB / 0.9158 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/0.9443, allocations: 183.4 kB / 0.916 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of SimCode: time 1.913e-06/0.9443, allocations: 0 / 0.916 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of Templates: time 0.06815/1.012, allocations: 40.15 MB / 0.9552 GB, free: 7.434 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.66876837494783] Failed to read output from testmodel.py, exit status != 0: 1.021384583087638 1.036224087 0.186471393 Calling exit ...