Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6996/0.6996, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 185.2 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205 MB / 408.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 94.3 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001088, allocations: 52.33 kB / 0.558 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1313, allocations: 75.48 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.0672/0.1986, allocations: 85.99 MB / 0.7157 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02414/0.2228, allocations: 17.94 MB / 0.7332 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002687/0.2255, allocations: 79.38 kB / 0.7333 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.2276, allocations: 0.6525 MB / 0.7339 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006099/0.2337, allocations: 2.293 MB / 0.7361 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004249/0.238, allocations: 1.722 MB / 0.7378 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.2718/0.5098, allocations: 6.425 MB / 0.7441 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.5118, allocations: 1.336 MB / 0.7454 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003106/0.5149, allocations: 1.594 MB / 0.7469 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.5169, allocations: 1.397 MB / 0.7483 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.5171, allocations: 75.41 kB / 0.7484 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.5194, allocations: 1.17 MB / 0.7495 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.5197, allocations: 339.2 kB / 0.7499 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008751/0.5206, allocations: 0.8601 MB / 0.7507 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.5235, allocations: 2.859 MB / 0.7535 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5235, allocations: 0.6094 kB / 0.7535 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5235, allocations: 4 kB / 0.7535 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.791e-05/0.5235, allocations: 0 / 0.7535 GB, free: 23.86 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00307/0.5266, allocations: 2.131 MB / 0.7556 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5266, allocations: 10.66 kB / 0.7556 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003896/0.527, allocations: 207 kB / 0.7558 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.5289, allocations: 1.367 MB / 0.7571 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.529, allocations: 81.94 kB / 0.7572 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.5291, allocations: 114.4 kB / 0.7573 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/0.5319, allocations: 1.26 MB / 0.7585 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.5319, allocations: 4.531 kB / 0.7585 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-05/0.532, allocations: 41.88 kB / 0.7586 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.532, allocations: 26.33 kB / 0.7586 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.5344, allocations: 0.9599 MB / 0.7595 GB, free: 22.18 MB / 0.5105 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.006125/0.5405, allocations: 5.202 MB / 0.7646 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.5423, allocations: 495.8 kB / 0.7651 GB, free: 19.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.5426, allocations: 204.4 kB / 0.7653 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003647/0.543, allocations: 0.658 MB / 0.7659 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.543, allocations: 44.7 kB / 0.766 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=38): time 2.735e-06/0.543, allocations: 0 / 0.766 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38): time 0.003602/0.5466, allocations: 1.018 MB / 0.767 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.5467, allocations: 60.53 kB / 0.767 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.5484, allocations: 1.389 MB / 0.7684 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.738e-05/0.5485, allocations: 39.86 kB / 0.7684 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.549, allocations: 0.7454 MB / 0.7691 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.5491, allocations: 133.6 kB / 0.7693 GB, free: 18.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.5494, allocations: 173.7 kB / 0.7694 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.5495, allocations: 334.3 kB / 0.7698 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.5502, allocations: 312.7 kB / 0.7701 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008202/0.551, allocations: 0.524 MB / 0.7706 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.5524, allocations: 0.7727 MB / 0.7713 GB, free: 17.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.5524, allocations: 1.344 kB / 0.7713 GB, free: 17.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00204/0.5545, allocations: 0.9927 MB / 0.7723 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.5545, allocations: 7.344 kB / 0.7723 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5545, allocations: 9.906 kB / 0.7723 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.5546, allocations: 17.31 kB / 0.7723 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/0.5554, allocations: 210.6 kB / 0.7725 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.5555, allocations: 12.34 kB / 0.7725 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.5568, allocations: 195.5 kB / 0.7727 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-05/0.5569, allocations: 37.41 kB / 0.7728 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008046/0.5577, allocations: 0.508 MB / 0.7733 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005055/0.5582, allocations: 471.2 kB / 0.7737 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008108/0.559, allocations: 0.64 MB / 0.7743 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/0.559, allocations: 1.219 kB / 0.7743 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization_lambda0): time 0.001479/0.5605, allocations: 0.8491 MB / 0.7752 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.5605, allocations: 8.375 kB / 0.7752 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5605, allocations: 5.906 kB / 0.7752 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5606, allocations: 13.44 kB / 0.7752 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/0.5612, allocations: 167.9 kB / 0.7753 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/0.5612, allocations: 19.3 kB / 0.7754 GB, free: 16.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.5622, allocations: 121.6 kB / 0.7755 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.5623, allocations: 34.08 kB / 0.7755 GB, free: 16.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (95): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.5625, allocations: 229 kB / 0.7757 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.5627, allocations: 150.4 kB / 0.7759 GB, free: 16.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.5642, allocations: 0.7124 MB / 0.7766 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.5642, allocations: 11.84 kB / 0.7766 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5642, allocations: 2.344 kB / 0.7766 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/0.5654, allocations: 0.8555 MB / 0.7774 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.5665, allocations: 1.079 MB / 0.7785 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.5666, allocations: 4 kB / 0.7785 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.5671, allocations: 115.2 kB / 0.7786 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5671, allocations: 0 / 0.7786 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.5672, allocations: 14.77 kB / 0.7786 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.5672, allocations: 9.906 kB / 0.7786 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5672, allocations: 0 / 0.7786 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.5828, allocations: 6.885 MB / 0.7853 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/0.5832, allocations: 287.3 kB / 0.7856 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.5833, allocations: 11.25 kB / 0.7856 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008571/0.5842, allocations: 104.6 kB / 0.7857 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.5843, allocations: 24.11 kB / 0.7857 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.5843, allocations: 19.83 kB / 0.7858 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001046/0.5854, allocations: 0.9382 MB / 0.7867 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5854, allocations: 0 / 0.7867 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003007/0.5884, allocations: 1.123 MB / 0.7878 GB, free: 13.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007512/0.5892, allocations: 396.9 kB / 0.7882 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002084/0.5912, allocations: 1.034 MB / 0.7892 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5913, allocations: 0 / 0.7892 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005702/0.5918, allocations: 291.5 kB / 0.7894 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003929/0.5958, allocations: 0.8944 MB / 0.7903 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.6097, allocations: 4.225 MB / 0.7944 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.6103, allocations: 1.24 MB / 0.7956 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001513/0.6118, allocations: 321.7 kB / 0.796 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.6121, allocations: 119.7 kB / 0.7961 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/0.6121, allocations: 3.844 kB / 0.7961 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of Templates: time 0.04426/0.6564, allocations: 32 MB / 0.8273 GB, free: 11.89 MB / 0.5417 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)