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.001264/0.001264, allocations: 74.98 kB / 19.93 MB, free: 1.773 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.001367/0.001367, allocations: 170.1 kB / 23.22 MB, free: 4.879 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.4/1.4, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.9106/0.9106, allocations: 113.9 MB / 373.9 MB, free: 13.23 MB / 350.1 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.543e-06/1.543e-06, allocations: 0 / 0.5547 GB, free: 2.594 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.029e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.59 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03163/0.03166, allocations: 27.2 MB / 0.5812 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.04327, allocations: 7.392 MB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.04434, allocations: 47.56 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.04554, allocations: 428.8 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.04947, allocations: 1.463 MB / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.05245, allocations: 1.204 MB / 0.5915 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004801/0.05725, allocations: 3.461 MB / 0.5949 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.05922, allocations: 1.136 MB / 0.596 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.06265, allocations: 2.136 MB / 0.5981 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003096/0.06575, allocations: 1.571 MB / 0.5996 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004946/0.06624, allocations: 124 kB / 0.5997 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.06846, allocations: 0.846 MB / 0.6006 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005991/0.06906, allocations: 410.6 kB / 0.601 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009109/0.06997, allocations: 0.5651 MB / 0.6015 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.07352, allocations: 2.38 MB / 0.6038 GB, free: 112 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.07352, allocations: 3.938 kB / 0.6038 GB, free: 108 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.07353, allocations: 0 / 0.6038 GB, free: 108 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.497e-05/0.07356, allocations: 0 / 0.6038 GB, free: 108 kB / 0.4981 GB 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.003028/0.07659, allocations: 1.591 MB / 0.6054 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.07663, allocations: 8.625 kB / 0.6054 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.07772, allocations: 207 kB / 0.6056 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.07946, allocations: 0.8467 MB / 0.6064 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.699e-05/0.07955, allocations: 81.31 kB / 0.6065 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.07977, allocations: 116 kB / 0.6066 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.08099, allocations: 0.6824 MB / 0.6073 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.08101, allocations: 0 / 0.6073 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.08107, allocations: 32 kB / 0.6073 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.08109, allocations: 12 kB / 0.6073 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.08219, allocations: 0.5242 MB / 0.6078 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005013/0.0872, allocations: 2.419 MB / 0.6102 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.08789, allocations: 312.4 kB / 0.6105 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.08825, allocations: 165.3 kB / 0.6107 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.08841, allocations: 36.25 kB / 0.6107 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.08844, allocations: 38.78 kB / 0.6107 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.034e-06/0.08844, allocations: 0 / 0.6107 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.00156/0.09, allocations: 0.5922 MB / 0.6113 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.09004, allocations: 59.34 kB / 0.6114 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009571/0.091, allocations: 0.783 MB / 0.6121 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.09115, allocations: 57.7 kB / 0.6122 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.09164, allocations: 499.3 kB / 0.6127 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.09174, allocations: 111 kB / 0.6128 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004689/0.09221, allocations: 291 kB / 0.613 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.09236, allocations: 330.1 kB / 0.6134 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.09284, allocations: 213.4 kB / 0.6136 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/0.09602, allocations: 4.048 MB / 0.6175 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.09704, allocations: 0.4981 MB / 0.618 GB, free: 276 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.09705, allocations: 0 / 0.618 GB, free: 276 kB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001547/0.09859, allocations: 0.6882 MB / 0.6187 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.09861, allocations: 4 kB / 0.6187 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.09862, allocations: 4 kB / 0.6187 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.09864, allocations: 4 kB / 0.6187 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.1002, allocations: 239.8 kB / 0.6189 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.1022, allocations: 2.957 MB / 0.6218 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/0.1055, allocations: 0.6916 MB / 0.6225 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.1056, allocations: 27.97 kB / 0.6225 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000779/0.1063, allocations: 389.3 kB / 0.6229 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003156/0.1095, allocations: 4.055 MB / 0.6268 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009771/0.1105, allocations: 0.4937 MB / 0.6273 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.1105, allocations: 0 / 0.6273 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00166/0.1121, allocations: 0.692 MB / 0.628 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1121, allocations: 8 kB / 0.628 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1121, allocations: 4 kB / 0.628 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.1122, allocations: 4 kB / 0.628 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.113, allocations: 168.1 kB / 0.6282 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.113, allocations: 4 kB / 0.6282 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004583/0.1175, allocations: 0.9575 MB / 0.6291 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/0.1176, allocations: 27.98 kB / 0.6291 GB, free: 3.621 MB / 0.5294 GB 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.0003313/0.118, allocations: 241 kB / 0.6294 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.1182, allocations: 95.33 kB / 0.6295 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.1195, allocations: 0.566 MB / 0.63 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.1195, allocations: 4 kB / 0.63 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1195, allocations: 3.938 kB / 0.63 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.1195, allocations: 3.984 kB / 0.63 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.1219, allocations: 1.167 MB / 0.6312 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.1219, allocations: 0 / 0.6312 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.1226, allocations: 128 kB / 0.6313 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.1226, allocations: 7.984 kB / 0.6313 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.1226, allocations: 12 kB / 0.6313 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.1244, allocations: 2.938 MB / 0.6342 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1244, allocations: 4.406 kB / 0.6342 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.1256, allocations: 0.6105 MB / 0.6348 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.1259, allocations: 123.3 kB / 0.6349 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.126, allocations: 12 kB / 0.6349 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/0.1265, allocations: 31.95 kB / 0.6349 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.1266, allocations: 31.83 kB / 0.635 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.1266, allocations: 15.98 kB / 0.635 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006903/0.1273, allocations: 0.5226 MB / 0.6355 GB, free: 12.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1273, allocations: 0 / 0.6355 GB, free: 12.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001583/0.1289, allocations: 0.5495 MB / 0.636 GB, free: 12.34 MB / 0.545 GB 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.0006296/0.1295, allocations: 305 kB / 0.6363 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002806/0.1323, allocations: 0.8779 MB / 0.6372 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1323, allocations: 0 / 0.6372 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006763/0.133, allocations: 253.1 kB / 0.6374 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.1345, allocations: 303.3 kB / 0.6377 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.1371, allocations: 1.504 MB / 0.6392 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.1375, allocations: 436.9 kB / 0.6396 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00104/0.1386, allocations: 201.1 kB / 0.6398 GB, free: 8.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.1388, allocations: 76.47 kB / 0.6398 GB, free: 8.34 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.1388, allocations: 0 / 0.6398 GB, free: 8.34 MB / 0.545 GB Notification: Performance of Templates: time 0.04216/0.181, allocations: 25.49 MB / 0.6647 GB, free: 15.5 MB / 0.5762 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.216515135020018] Failed to read output from testmodel.py, exit status != 0: 0.1903967782855034 0.20424978999999996 0.12754232399999996 Calling exit ...