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.001097/0.001097, allocations: 88.17 kB / 15.7 MB, free: 460 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.001663/0.001664, allocations: 175 kB / 16.58 MB, free: 6.402 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.415/1.415, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7062/0.7062, allocations: 115.5 MB / 407.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.000483, allocations: 8 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2053, allocations: 77.53 MB / 0.5593 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3299/0.5352, allocations: 27.36 MB / 0.5861 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.5476, allocations: 7.661 MB / 0.5935 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.5496, allocations: 27.5 kB / 0.5936 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.5512, allocations: 301 kB / 0.5938 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005987/0.5572, allocations: 1.085 MB / 0.5949 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003915/0.5611, allocations: 0.9645 MB / 0.5958 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005897/0.567, allocations: 3.523 MB / 0.5993 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.5694, allocations: 1.088 MB / 0.6004 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003631/0.5731, allocations: 1.467 MB / 0.6018 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/0.5766, allocations: 1.564 MB / 0.6033 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005276/0.5771, allocations: 63.62 kB / 0.6034 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.5798, allocations: 0.8617 MB / 0.6042 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004546/0.5803, allocations: 328.4 kB / 0.6045 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005072/0.5808, allocations: 249.7 kB / 0.6048 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.5826, allocations: 1.537 MB / 0.6063 GB, free: 9.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5826, allocations: 0 / 0.6063 GB, free: 9.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5826, allocations: 2.516 kB / 0.6063 GB, free: 9.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.5827, allocations: 1.031 kB / 0.6063 GB, free: 9.68 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.002421/0.5851, allocations: 1.35 MB / 0.6076 GB, free: 24.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5851, allocations: 9.406 kB / 0.6076 GB, free: 24.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.5855, allocations: 149.1 kB / 0.6077 GB, free: 24.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.587, allocations: 0.8585 MB / 0.6086 GB, free: 24.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.5871, allocations: 80.81 kB / 0.6087 GB, free: 24.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.5873, allocations: 115.7 kB / 0.6088 GB, free: 24.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.5883, allocations: 0.6403 MB / 0.6094 GB, free: 24.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5884, allocations: 0.9688 kB / 0.6094 GB, free: 24.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/0.5884, allocations: 27.66 kB / 0.6094 GB, free: 24.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.5884, allocations: 17.84 kB / 0.6094 GB, free: 24.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008302/0.5893, allocations: 469.9 kB / 0.6099 GB, free: 23.86 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.00397/0.5933, allocations: 2.87 MB / 0.6127 GB, free: 21.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.5939, allocations: 321.4 kB / 0.613 GB, free: 21.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.5942, allocations: 152 kB / 0.6131 GB, free: 21.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.5945, allocations: 347.4 kB / 0.6135 GB, free: 20.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.5945, allocations: 36.84 kB / 0.6135 GB, free: 20.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.5945, allocations: 0 / 0.6135 GB, free: 20.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001303/0.5958, allocations: 0.5466 MB / 0.614 GB, free: 20.63 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.5959, allocations: 54.62 kB / 0.6141 GB, free: 20.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.597, allocations: 0.8977 MB / 0.615 GB, free: 20.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.5971, allocations: 53.64 kB / 0.615 GB, free: 20.01 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.5976, allocations: 0.5379 MB / 0.6155 GB, free: 19.58 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.5977, allocations: 112.3 kB / 0.6156 GB, free: 19.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.5977, allocations: 13.78 kB / 0.6157 GB, free: 19.47 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5978, allocations: 331.2 kB / 0.616 GB, free: 19.15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.5982, allocations: 178 kB / 0.6161 GB, free: 19.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.5993, allocations: 1.138 MB / 0.6173 GB, free: 17.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.5998, allocations: 320.8 kB / 0.6176 GB, free: 17.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5998, allocations: 5 kB / 0.6176 GB, free: 17.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001182/0.601, allocations: 0.6383 MB / 0.6182 GB, free: 17.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.6011, allocations: 148.8 kB / 0.6183 GB, free: 17.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.6011, allocations: 2.281 kB / 0.6183 GB, free: 17.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.6011, allocations: 6.531 kB / 0.6183 GB, free: 17.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.6025, allocations: 240 kB / 0.6186 GB, free: 17.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.6041, allocations: 2.954 MB / 0.6215 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/0.6072, allocations: 0.7575 MB / 0.6222 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/0.6073, allocations: 25.95 kB / 0.6222 GB, free: 13.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6073, allocations: 6.844 kB / 0.6222 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000969/0.6083, allocations: 0.4935 MB / 0.6227 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6083, allocations: 1.281 kB / 0.6227 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.6083, allocations: 13.17 kB / 0.6227 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/0.609, allocations: 157.3 kB / 0.6229 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.609, allocations: 14.61 kB / 0.6229 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/0.612, allocations: 0.7366 MB / 0.6236 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-05/0.6121, allocations: 25.48 kB / 0.6236 GB, free: 13.21 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.0007577/0.6128, allocations: 332.6 kB / 0.6239 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.6131, allocations: 98 kB / 0.624 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.6141, allocations: 0.5237 MB / 0.6246 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.6141, allocations: 8.828 kB / 0.6246 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6142, allocations: 0 / 0.6246 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.6142, allocations: 0 / 0.6246 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.6164, allocations: 1.277 MB / 0.6258 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6164, allocations: 0 / 0.6258 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.617, allocations: 119.8 kB / 0.6259 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.617, allocations: 4.938 kB / 0.6259 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.617, allocations: 12.97 kB / 0.6259 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.6186, allocations: 2.946 MB / 0.6288 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6186, allocations: 2.812 kB / 0.6288 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.6195, allocations: 0.5784 MB / 0.6294 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.6199, allocations: 225.8 kB / 0.6296 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.6201, allocations: 11.33 kB / 0.6296 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.6205, allocations: 60.09 kB / 0.6297 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.6206, allocations: 32.22 kB / 0.6297 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.6207, allocations: 16.84 kB / 0.6297 GB, free: 8.016 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008736/0.6215, allocations: 0.5989 MB / 0.6303 GB, free: 7.664 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6216, allocations: 0 / 0.6303 GB, free: 7.664 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002821/0.6244, allocations: 0.5393 MB / 0.6308 GB, free: 7.547 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.0009219/0.6253, allocations: 320.8 kB / 0.6311 GB, free: 7.379 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002714/0.628, allocations: 0.8378 MB / 0.632 GB, free: 7.059 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6281, allocations: 0 / 0.632 GB, free: 7.059 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005495/0.6286, allocations: 246.9 kB / 0.6322 GB, free: 6.957 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.6313, allocations: 479.7 kB / 0.6326 GB, free: 6.719 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.6344, allocations: 1.817 MB / 0.6344 GB, free: 5.504 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.635, allocations: 1.02 MB / 0.6354 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001308/0.6363, allocations: 214.2 kB / 0.6356 GB, free: 4.559 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.6365, allocations: 79 kB / 0.6357 GB, free: 4.539 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6365, allocations: 4 kB / 0.6357 GB, free: 4.535 MB / 462.1 MB Notification: Performance of Templates: time 0.04167/0.6782, allocations: 23.57 MB / 0.6587 GB, free: 13.86 MB / 494.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)