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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 174.2 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.674/0.674, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 8.75 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 77.14 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02415/0.1847, allocations: 25.02 MB / 0.5813 GB, free: 2.516 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.345/0.5298, allocations: 7.03 MB / 0.5881 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.5312, allocations: 25 kB / 0.5882 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.5328, allocations: 376.2 kB / 0.5885 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.5383, allocations: 1.443 MB / 0.5899 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.5423, allocations: 1.188 MB / 0.5911 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005869/0.5482, allocations: 2.106 MB / 0.5931 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/0.5513, allocations: 1.104 MB / 0.5942 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004472/0.5557, allocations: 1.284 MB / 0.5955 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.56, allocations: 1.302 MB / 0.5967 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009757/0.561, allocations: 63.66 kB / 0.5968 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004676/0.5657, allocations: 0.9009 MB / 0.5977 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008358/0.5665, allocations: 332.7 kB / 0.598 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.5676, allocations: 246 kB / 0.5982 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.5707, allocations: 1.545 MB / 0.5997 GB, free: 11.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5707, allocations: 0 / 0.5997 GB, free: 11.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5707, allocations: 0.8125 kB / 0.5997 GB, free: 11.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.321e-05/0.5707, allocations: 0 / 0.5997 GB, free: 11.2 MB / 446.1 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.003764/0.5745, allocations: 1.341 MB / 0.6011 GB, free: 26.39 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.5746, allocations: 8.938 kB / 0.6011 GB, free: 26.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005919/0.5752, allocations: 151 kB / 0.6012 GB, free: 26.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.5773, allocations: 0.8582 MB / 0.602 GB, free: 25.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.5774, allocations: 80.31 kB / 0.6021 GB, free: 25.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/0.5777, allocations: 119 kB / 0.6022 GB, free: 25.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.579, allocations: 0.6395 MB / 0.6029 GB, free: 25.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.579, allocations: 0.5 kB / 0.6029 GB, free: 25.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.579, allocations: 27.98 kB / 0.6029 GB, free: 25.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.5791, allocations: 18.03 kB / 0.6029 GB, free: 25.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000962/0.58, allocations: 469.8 kB / 0.6034 GB, free: 25.84 MB / 462.1 MB 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.004847/0.5849, allocations: 2.881 MB / 0.6062 GB, free: 24.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.5855, allocations: 322.8 kB / 0.6065 GB, free: 24.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.5858, allocations: 343.9 kB / 0.6068 GB, free: 24.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.5858, allocations: 38.28 kB / 0.6068 GB, free: 24.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.627e-06/0.5858, allocations: 4 kB / 0.6068 GB, free: 24.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001317/0.5872, allocations: 0.5444 MB / 0.6074 GB, free: 23.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.5872, allocations: 58.16 kB / 0.6074 GB, free: 23.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.5883, allocations: 0.8985 MB / 0.6083 GB, free: 23.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.5885, allocations: 54.05 kB / 0.6084 GB, free: 23.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.5889, allocations: 0.5402 MB / 0.6089 GB, free: 23.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.589, allocations: 102.4 kB / 0.609 GB, free: 23.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.589, allocations: 13.81 kB / 0.609 GB, free: 23.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5891, allocations: 328.5 kB / 0.6093 GB, free: 23.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.5895, allocations: 187.6 kB / 0.6095 GB, free: 22.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.5906, allocations: 1.136 MB / 0.6106 GB, free: 21.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.5911, allocations: 305.1 kB / 0.6109 GB, free: 21.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5911, allocations: 0 / 0.6109 GB, free: 21.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001244/0.5924, allocations: 0.6452 MB / 0.6115 GB, free: 21.67 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000279/0.5927, allocations: 0.8064 MB / 0.6123 GB, free: 20.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5927, allocations: 2.406 kB / 0.6123 GB, free: 20.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.5927, allocations: 8.984 kB / 0.6123 GB, free: 20.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.5941, allocations: 234.7 kB / 0.6125 GB, free: 20.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.5956, allocations: 2.96 MB / 0.6154 GB, free: 17.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/0.5993, allocations: 0.7527 MB / 0.6162 GB, free: 17.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.5994, allocations: 25.73 kB / 0.6162 GB, free: 17.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5994, allocations: 4.25 kB / 0.6162 GB, free: 17.5 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009932/0.6004, allocations: 0.5002 MB / 0.6167 GB, free: 17.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6004, allocations: 1.375 kB / 0.6167 GB, free: 17.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.6004, allocations: 9.5 kB / 0.6167 GB, free: 17.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.6011, allocations: 167.6 kB / 0.6169 GB, free: 17.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.6011, allocations: 12.05 kB / 0.6169 GB, free: 17.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/0.6047, allocations: 0.732 MB / 0.6176 GB, free: 17.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-05/0.6048, allocations: 26.17 kB / 0.6176 GB, free: 17.07 MB / 462.1 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008439/0.6056, allocations: 329.2 kB / 0.6179 GB, free: 16.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.6059, allocations: 102.9 kB / 0.618 GB, free: 16.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.6071, allocations: 0.5192 MB / 0.6185 GB, free: 16.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.6071, allocations: 4.125 kB / 0.6185 GB, free: 16.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6071, allocations: 0 / 0.6185 GB, free: 16.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.6071, allocations: 13.3 kB / 0.6185 GB, free: 16.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.6093, allocations: 1.27 MB / 0.6198 GB, free: 16.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.6093, allocations: 1.562 kB / 0.6198 GB, free: 16.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/0.61, allocations: 121.8 kB / 0.6199 GB, free: 16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.61, allocations: 2.469 kB / 0.6199 GB, free: 16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.61, allocations: 15.8 kB / 0.6199 GB, free: 16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.6115, allocations: 2.937 MB / 0.6228 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.6115, allocations: 1.094 kB / 0.6228 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.6124, allocations: 0.6267 MB / 0.6234 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.6129, allocations: 229.3 kB / 0.6236 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.613, allocations: 8.188 kB / 0.6236 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.6135, allocations: 66.98 kB / 0.6237 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.6136, allocations: 26.77 kB / 0.6237 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.6137, allocations: 18.14 kB / 0.6237 GB, free: 12.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007721/0.6145, allocations: 0.6013 MB / 0.6243 GB, free: 12.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6145, allocations: 0 / 0.6243 GB, free: 12.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002207/0.6167, allocations: 0.533 MB / 0.6248 GB, free: 12.2 MB / 462.1 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 (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/0.6177, allocations: 325.1 kB / 0.6251 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003/0.6207, allocations: 0.8363 MB / 0.626 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6207, allocations: 0 / 0.626 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005908/0.6213, allocations: 240.2 kB / 0.6262 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.6242, allocations: 480.5 kB / 0.6267 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.6273, allocations: 1.8 MB / 0.6284 GB, free: 10.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008484/0.6282, allocations: 1.054 MB / 0.6294 GB, free: 9.348 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001672/0.6299, allocations: 207.7 kB / 0.6296 GB, free: 9.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.6301, allocations: 85.38 kB / 0.6297 GB, free: 9.227 MB / 462.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6301, allocations: 0 / 0.6297 GB, free: 9.227 MB / 462.1 MB Notification: Performance of Templates: time 0.04249/0.6726, allocations: 23.56 MB / 0.6527 GB, free: 4.398 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (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)