Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.0009205/0.0009205, allocations: 72.95 kB / 20.72 MB, free: 3.762 MB / 18.57 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.001028/0.001028, allocations: 169 kB / 24.14 MB, free: 352 kB / 18.57 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.034/1.034, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6157/0.6157, allocations: 115 MB / 376 MB, free: 7.461 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 428.7 MB, free: 2.781 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.698e-05, allocations: 2.312 kB / 428.7 MB, free: 2.777 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.008089/0.008106, allocations: 10.47 MB / 439.2 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006531/0.01464, allocations: 4.288 MB / 443.5 MB, free: 3.965 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006332/0.01527, allocations: 51.5 kB / 443.5 MB, free: 3.914 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.01571, allocations: 237.9 kB / 443.8 MB, free: 3.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.01715, allocations: 0.9007 MB / 444.7 MB, free: 2.773 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.01895, allocations: 1.157 MB / 445.8 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2299/0.2489, allocations: 3.393 MB / 449.2 MB, free: 17.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/0.2506, allocations: 1.233 MB / 450.4 MB, free: 17.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/0.2537, allocations: 2.06 MB / 452.5 MB, free: 17.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.2561, allocations: 1.755 MB / 454.2 MB, free: 17.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003628/0.2565, allocations: 91.69 kB / 454.3 MB, free: 17.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.2575, allocations: 0.6677 MB / 455 MB, free: 17.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.2578, allocations: 312.6 kB / 455.3 MB, free: 17.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000524/0.2583, allocations: 464 kB / 455.8 MB, free: 17.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.2599, allocations: 1.455 MB / 457.2 MB, free: 17.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2599, allocations: 1.156 kB / 457.2 MB, free: 17.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2599, allocations: 0.5625 kB / 457.2 MB, free: 17.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.2599, allocations: 1.531 kB / 457.2 MB, free: 17.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001658/0.2616, allocations: 1.433 MB / 458.7 MB, free: 16.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.2616, allocations: 9.688 kB / 458.7 MB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005214/0.2621, allocations: 201.9 kB / 458.9 MB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.2628, allocations: 0.6108 MB / 459.5 MB, free: 16.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.2629, allocations: 78.03 kB / 459.5 MB, free: 16.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.263, allocations: 89.03 kB / 459.6 MB, free: 16.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.2635, allocations: 0.5262 MB / 460.2 MB, free: 16.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.2635, allocations: 1.75 kB / 460.2 MB, free: 16.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.2636, allocations: 24.38 kB / 460.2 MB, free: 16.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2636, allocations: 13.53 kB / 460.2 MB, free: 16.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.2638, allocations: 240.7 kB / 460.4 MB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.2658, allocations: 1.775 MB / 462.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.266, allocations: 220.8 kB / 462.4 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.2661, allocations: 87.16 kB / 462.5 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.299e-05/0.2662, allocations: 23.27 kB / 462.5 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.2662, allocations: 40.2 kB / 462.6 MB, free: 15.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.2662, allocations: 0.5938 kB / 462.6 MB, free: 15.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003749/0.2666, allocations: 309.8 kB / 462.9 MB, free: 15.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.2666, allocations: 54 kB / 462.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.2669, allocations: 0.6882 MB / 463.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.328e-05/0.267, allocations: 47.52 kB / 463.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.2672, allocations: 372.6 kB / 464 MB, free: 14.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.2672, allocations: 118.7 kB / 464.1 MB, free: 14.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.2674, allocations: 205.1 kB / 464.3 MB, free: 14.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.2675, allocations: 326.7 kB / 464.7 MB, free: 13.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.2676, allocations: 98.67 kB / 464.8 MB, free: 13.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000538/0.2681, allocations: 2.097 MB / 466.9 MB, free: 11.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.2684, allocations: 314.5 kB / 467.2 MB, free: 11.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2684, allocations: 0 / 467.2 MB, free: 11.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004172/0.2688, allocations: 396.8 kB / 467.6 MB, free: 11.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2688, allocations: 5.312 kB / 467.6 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.2688, allocations: 8.203 kB / 467.6 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2688, allocations: 3.594 kB / 467.6 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.2695, allocations: 215.3 kB / 467.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006155/0.2701, allocations: 2.917 MB / 470.7 MB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009468/0.271, allocations: 366.5 kB / 471.1 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.2711, allocations: 26.3 kB / 471.1 MB, free: 8.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002096/0.2713, allocations: 194 kB / 471.3 MB, free: 7.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004842/0.2718, allocations: 2.114 MB / 473.4 MB, free: 5.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002549/0.272, allocations: 325.5 kB / 473.7 MB, free: 4.859 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.272, allocations: 5.75 kB / 473.7 MB, free: 4.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0004459/0.2725, allocations: 425 kB / 474.1 MB, free: 4.465 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.2725, allocations: 4 kB / 474.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2725, allocations: 4 kB / 474.1 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.2725, allocations: 4.75 kB / 474.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.2728, allocations: 153.2 kB / 474.3 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2728, allocations: 7.406 kB / 474.3 MB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.274, allocations: 482.9 kB / 474.8 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.274, allocations: 23.11 kB / 474.8 MB, free: 3.879 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.2742, allocations: 226.2 kB / 475 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.2742, allocations: 61.34 kB / 475.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.2746, allocations: 351 kB / 475.4 MB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.2746, allocations: 4 kB / 475.4 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.2746, allocations: 0 / 475.4 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.2746, allocations: 3.984 kB / 475.4 MB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007472/0.2754, allocations: 0.8105 MB / 476.2 MB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2754, allocations: 9.891 kB / 476.2 MB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.2756, allocations: 108.4 kB / 476.3 MB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2756, allocations: 0 / 476.3 MB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.2756, allocations: 11.17 kB / 476.4 MB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005404/0.2762, allocations: 2.915 MB / 479.3 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2762, allocations: 11.5 kB / 479.3 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.2765, allocations: 422.4 kB / 479.7 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.2766, allocations: 109.5 kB / 479.8 MB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.2767, allocations: 7.438 kB / 479.8 MB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.2768, allocations: 24.36 kB / 479.8 MB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.2769, allocations: 34.66 kB / 479.9 MB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2769, allocations: 8.938 kB / 479.9 MB, free: 14.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.2771, allocations: 335.7 kB / 480.2 MB, free: 14.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2771, allocations: 0 / 480.2 MB, free: 14.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007776/0.2779, allocations: 0.4968 MB / 480.7 MB, free: 14.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003185/0.2782, allocations: 203.3 kB / 480.9 MB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009419/0.2792, allocations: 0.5922 MB / 481.5 MB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.2792, allocations: 12 kB / 481.5 MB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.2794, allocations: 165.8 kB / 481.7 MB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/0.2803, allocations: 345.7 kB / 482 MB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.2823, allocations: 1.457 MB / 483.5 MB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.2825, allocations: 171.7 kB / 483.6 MB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004955/0.283, allocations: 166.5 kB / 483.8 MB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006673/0.2836, allocations: 356.5 kB / 484.1 MB, free: 10.82 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.2836, allocations: 0 / 484.1 MB, free: 10.82 MB / 426.7 MB Notification: Performance of Templates: time 0.02339/0.307, allocations: 23.29 MB / 0.4955 GB, free: 4.355 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.221052824985236]