Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.00126/0.00126, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001938, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.058/1.058, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004197, allocations: 12 kB / 0.5158 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 83.41 MB / 0.5973 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3581/0.514, allocations: 25.02 MB / 0.6217 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009088/0.5231, allocations: 7.057 MB / 0.6286 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.5247, allocations: 23.78 kB / 0.6286 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.526, allocations: 376.9 kB / 0.629 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.5301, allocations: 1.443 MB / 0.6304 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.5333, allocations: 1.186 MB / 0.6316 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003389/0.5367, allocations: 2.105 MB / 0.6336 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.5383, allocations: 1.102 MB / 0.6347 GB, free: 23.01 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.5408, allocations: 1.291 MB / 0.636 GB, free: 22.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.5431, allocations: 1.295 MB / 0.6372 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.5435, allocations: 66.38 kB / 0.6373 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.5458, allocations: 0.8991 MB / 0.6382 GB, free: 21.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004331/0.5463, allocations: 332 kB / 0.6385 GB, free: 21.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.5467, allocations: 249.5 kB / 0.6387 GB, free: 21.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.5484, allocations: 1.602 MB / 0.6403 GB, free: 21.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.5484, allocations: 0 / 0.6403 GB, free: 21.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5484, allocations: 0 / 0.6403 GB, free: 21.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.041e-05/0.5484, allocations: 0 / 0.6403 GB, free: 21.36 MB / 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.002321/0.5508, allocations: 1.353 MB / 0.6416 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.5508, allocations: 9.875 kB / 0.6416 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.5512, allocations: 148.6 kB / 0.6418 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.5529, allocations: 0.8622 MB / 0.6426 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.553, allocations: 83.12 kB / 0.6427 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.5532, allocations: 117.8 kB / 0.6428 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.5542, allocations: 0.6344 MB / 0.6434 GB, free: 19.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.5543, allocations: 3.953 kB / 0.6434 GB, free: 19.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.5543, allocations: 29.25 kB / 0.6434 GB, free: 19.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.5544, allocations: 13.12 kB / 0.6434 GB, free: 19.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.5551, allocations: 478.2 kB / 0.6439 GB, free: 19.36 MB / 0.4981 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.004319/0.5595, allocations: 2.882 MB / 0.6467 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.5601, allocations: 313.5 kB / 0.647 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.5604, allocations: 341.7 kB / 0.6473 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.5605, allocations: 42.17 kB / 0.6474 GB, free: 17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.235e-06/0.5605, allocations: 4 kB / 0.6474 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001354/0.5618, allocations: 0.5478 MB / 0.6479 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.5619, allocations: 59.91 kB / 0.648 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.5632, allocations: 0.8927 MB / 0.6489 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.5633, allocations: 58.17 kB / 0.6489 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/0.5639, allocations: 0.5293 MB / 0.6494 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.827e-05/0.564, allocations: 115.5 kB / 0.6495 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.564, allocations: 14.84 kB / 0.6495 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.5641, allocations: 325.7 kB / 0.6499 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.5645, allocations: 181.3 kB / 0.65 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.5662, allocations: 1.135 MB / 0.6511 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007201/0.5669, allocations: 296.8 kB / 0.6514 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.5669, allocations: 5.344 kB / 0.6514 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001516/0.5685, allocations: 0.6412 MB / 0.6521 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.5687, allocations: 0.8063 MB / 0.6528 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.5687, allocations: 3.188 kB / 0.6528 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.5688, allocations: 4.844 kB / 0.6529 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.5703, allocations: 237.6 kB / 0.6531 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.5715, allocations: 2.964 MB / 0.656 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/0.5753, allocations: 0.7551 MB / 0.6567 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.5754, allocations: 26.66 kB / 0.6567 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5755, allocations: 3.938 kB / 0.6567 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001096/0.5766, allocations: 0.4978 MB / 0.6572 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5766, allocations: 2 kB / 0.6572 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.5766, allocations: 10.3 kB / 0.6572 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.5773, allocations: 162.8 kB / 0.6574 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.5774, allocations: 9.781 kB / 0.6574 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/0.5811, allocations: 0.7389 MB / 0.6581 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/0.5812, allocations: 24.06 kB / 0.6581 GB, free: 9.672 MB / 0.4981 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 (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.0008037/0.582, allocations: 328.3 kB / 0.6585 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.5822, allocations: 99.45 kB / 0.6586 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.5835, allocations: 0.515 MB / 0.6591 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.5835, allocations: 9.75 kB / 0.6591 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5835, allocations: 0 / 0.6591 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.5835, allocations: 6.484 kB / 0.6591 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.586, allocations: 1.268 MB / 0.6603 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.586, allocations: 1.125 kB / 0.6603 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.5866, allocations: 120.1 kB / 0.6604 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.5866, allocations: 10.14 kB / 0.6604 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.5866, allocations: 19.52 kB / 0.6605 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009462/0.5876, allocations: 2.938 MB / 0.6633 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5876, allocations: 2.203 kB / 0.6633 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009999/0.5886, allocations: 0.6371 MB / 0.6639 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004408/0.5891, allocations: 226.5 kB / 0.6642 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.5892, allocations: 7.875 kB / 0.6642 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/0.5897, allocations: 59.55 kB / 0.6642 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.5898, allocations: 30.8 kB / 0.6643 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.5899, allocations: 16.52 kB / 0.6643 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008872/0.5908, allocations: 0.6008 MB / 0.6649 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5908, allocations: 1.062 kB / 0.6649 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002134/0.5929, allocations: 0.5428 MB / 0.6654 GB, free: 4.5 MB / 0.4981 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 (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.0008651/0.5938, allocations: 328.1 kB / 0.6657 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00341/0.5972, allocations: 0.8497 MB / 0.6665 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.5972, allocations: 5.281 kB / 0.6665 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000722/0.598, allocations: 233.8 kB / 0.6668 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.6008, allocations: 470 kB / 0.6672 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.6045, allocations: 1.811 MB / 0.669 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/0.6053, allocations: 1.047 MB / 0.67 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001649/0.607, allocations: 216.2 kB / 0.6702 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.6073, allocations: 81.05 kB / 0.6703 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of SimCode: time 1.393e-06/0.6073, allocations: 0 / 0.6703 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of Templates: time 0.05229/0.6596, allocations: 23.75 MB / 0.6935 GB, free: 9.004 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: