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.001283/0.001283, allocations: 110.5 kB / 17.6 MB, free: 4.688 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.001401/0.001401, allocations: 190.8 kB / 20.78 MB, free: 1.512 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.557/1.557, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.1/1.1, allocations: 175.7 MB / 480.2 MB, free: 2.773 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.002034/0.002034, allocations: 72.27 kB / 0.6684 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2487, allocations: 94.53 MB / 0.7607 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.6077/0.8564, allocations: 114.5 MB / 0.8725 GB, free: 22.67 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03118/0.8875, allocations: 20.17 MB / 0.8922 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006528/0.8941, allocations: 111.2 kB / 0.8923 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004938/0.899, allocations: 1.31 MB / 0.8936 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.9125, allocations: 3.856 MB / 0.8973 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00847/0.921, allocations: 3.157 MB / 0.9004 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01152/0.9325, allocations: 7.175 MB / 0.9074 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003259/0.9358, allocations: 1.974 MB / 0.9093 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00722/0.943, allocations: 3.069 MB / 0.9123 GB, free: 376 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004425/0.9474, allocations: 2.17 MB / 0.9145 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005947/0.948, allocations: 255.5 kB / 0.9147 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004644/0.9527, allocations: 1.66 MB / 0.9163 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008973/0.9536, allocations: 0.7227 MB / 0.917 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002276/0.9558, allocations: 1.488 MB / 0.9185 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009253/0.9651, allocations: 4.385 MB / 0.9228 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/0.9651, allocations: 2.719 kB / 0.9228 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.226e-06/0.9651, allocations: 0 / 0.9228 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002607/0.9654, allocations: 0 / 0.9228 GB, free: 9.562 MB / 0.6544 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.008967/0.9743, allocations: 3.266 MB / 0.926 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9744, allocations: 8 kB / 0.926 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.9754, allocations: 344.1 kB / 0.9263 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004472/0.9799, allocations: 2.194 MB / 0.9284 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.98, allocations: 127 kB / 0.9286 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.9802, allocations: 179.9 kB / 0.9287 GB, free: 5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/0.9833, allocations: 1.604 MB / 0.9303 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.9833, allocations: 8 kB / 0.9303 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.9835, allocations: 67.94 kB / 0.9304 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.9835, allocations: 36 kB / 0.9304 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.9857, allocations: 1.147 MB / 0.9315 GB, free: 2.07 MB / 0.6544 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.01327/0.999, allocations: 8.151 MB / 0.9395 GB, free: 9.355 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/0.9999, allocations: 438 kB / 0.9399 GB, free: 8.922 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005272/1, allocations: 295.5 kB / 0.9402 GB, free: 8.629 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008269/1.001, allocations: 0.7524 MB / 0.9409 GB, free: 7.711 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/1.001, allocations: 43.06 kB / 0.941 GB, free: 7.66 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 4.769e-06/1.001, allocations: 7.984 kB / 0.941 GB, free: 7.652 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002519/1.004, allocations: 0.9973 MB / 0.9419 GB, free: 6.645 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.004, allocations: 55.97 kB / 0.942 GB, free: 6.578 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/1.007, allocations: 2.285 MB / 0.9442 GB, free: 4.281 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001575/1.007, allocations: 45.7 kB / 0.9443 GB, free: 4.23 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/1.009, allocations: 1.155 MB / 0.9454 GB, free: 3.066 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/1.009, allocations: 238 kB / 0.9456 GB, free: 2.832 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/1.009, allocations: 254.8 kB / 0.9459 GB, free: 2.574 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.01, allocations: 345.9 kB / 0.9462 GB, free: 2.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007196/1.01, allocations: 365.9 kB / 0.9465 GB, free: 1.871 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/1.012, allocations: 0.754 MB / 0.9473 GB, free: 0.957 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/1.013, allocations: 0.9825 MB / 0.9482 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.013, allocations: 0 / 0.9482 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002678/1.016, allocations: 1.296 MB / 0.9495 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/1.016, allocations: 8 kB / 0.9495 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.016, allocations: 8 kB / 0.9495 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/1.016, allocations: 16 kB / 0.9495 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.017, allocations: 251.6 kB / 0.9498 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.703e-05/1.017, allocations: 20.42 kB / 0.9498 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/1.019, allocations: 166.8 kB / 0.9499 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.019, allocations: 55.98 kB / 0.95 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001537/1.02, allocations: 0.7524 MB / 0.9507 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/1.021, allocations: 0.7387 MB / 0.9515 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001501/1.023, allocations: 0.9563 MB / 0.9524 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/1.023, allocations: 4 kB / 0.9524 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002492/1.025, allocations: 1.267 MB / 0.9536 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.025, allocations: 8 kB / 0.9536 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.025, allocations: 8.844 kB / 0.9536 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.025, allocations: 16 kB / 0.9537 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009318/1.026, allocations: 247.6 kB / 0.9539 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/1.026, allocations: 23.92 kB / 0.9539 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.028, allocations: 131.3 kB / 0.954 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.715e-05/1.028, allocations: 47.98 kB / 0.9541 GB, free: 9.559 MB / 0.6856 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.0003846/1.028, allocations: 251.9 kB / 0.9543 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/1.029, allocations: 246.4 kB / 0.9546 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/1.031, allocations: 0.8814 MB / 0.9554 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/1.031, allocations: 15.98 kB / 0.9554 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.031, allocations: 0 / 0.9554 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/1.032, allocations: 0.6775 MB / 0.9561 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/1.036, allocations: 2.565 MB / 0.9586 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.036, allocations: 4.094 kB / 0.9586 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/1.037, allocations: 127.8 kB / 0.9587 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/1.037, allocations: 4 kB / 0.9587 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-05/1.037, allocations: 19.98 kB / 0.9588 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.037, allocations: 0 / 0.9588 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.037, allocations: 11.77 kB / 0.9588 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/1.04, allocations: 1.314 MB / 0.9601 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.041, allocations: 419.3 kB / 0.9605 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/1.041, allocations: 12 kB / 0.9605 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009069/1.042, allocations: 51.89 kB / 0.9605 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.042, allocations: 44.45 kB / 0.9606 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/1.042, allocations: 35.97 kB / 0.9606 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002534/1.045, allocations: 1.529 MB / 0.9621 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/1.045, allocations: 0 / 0.9621 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003297/1.048, allocations: 1.111 MB / 0.9632 GB, free: 96 kB / 0.6856 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.002416/1.05, allocations: 0.7598 MB / 0.9639 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002857/1.053, allocations: 1.284 MB / 0.9652 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.053, allocations: 0 / 0.9652 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005558/1.054, allocations: 304.4 kB / 0.9655 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007029/1.061, allocations: 1.379 MB / 0.9668 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/1.071, allocations: 3.713 MB / 0.9704 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/1.073, allocations: 1.578 MB / 0.972 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00362/1.077, allocations: 0.4903 MB / 0.9724 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008453/1.078, allocations: 167.4 kB / 0.9726 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of SimCode: time 2.124e-06/1.078, allocations: 0 / 0.9726 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of Templates: time 0.08806/1.166, allocations: 45.21 MB / 1.017 GB, free: 9.828 MB / 0.7481 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: 8.648779493756592]