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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0006864/0.0006865, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0007374/0.0007374, allocations: 172.7 kB / 15.95 MB, free: 208 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.144/1.144, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.844/0.844, allocations: 143.2 MB / 434.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000253/0.000253, allocations: 15.97 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 83.41 MB / 0.5972 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.2373/0.3616, allocations: 27.39 MB / 0.624 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006931/0.3685, allocations: 7.665 MB / 0.6315 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006585/0.3692, allocations: 29.97 kB / 0.6315 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006542/0.3699, allocations: 306.2 kB / 0.6318 GB, free: 23.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.3718, allocations: 1.07 MB / 0.6328 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.3736, allocations: 0.9689 MB / 0.6338 GB, free: 22.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.3761, allocations: 3.528 MB / 0.6372 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009016/0.377, allocations: 1.086 MB / 0.6383 GB, free: 21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.3784, allocations: 1.467 MB / 0.6397 GB, free: 20.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.3801, allocations: 1.556 MB / 0.6413 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.3803, allocations: 63.66 kB / 0.6413 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3815, allocations: 0.8569 MB / 0.6421 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.3818, allocations: 340 kB / 0.6425 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.3821, allocations: 246 kB / 0.6427 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009926/0.3831, allocations: 1.6 MB / 0.6443 GB, free: 19.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3831, allocations: 0 / 0.6443 GB, free: 19.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3831, allocations: 3.938 kB / 0.6443 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3831, allocations: 0 / 0.6443 GB, free: 19.32 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.001552/0.3846, allocations: 1.347 MB / 0.6456 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.3847, allocations: 10.5 kB / 0.6456 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.3849, allocations: 150.3 kB / 0.6457 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.386, allocations: 0.8634 MB / 0.6466 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.3861, allocations: 77.91 kB / 0.6467 GB, free: 17.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.3862, allocations: 116.7 kB / 0.6468 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008234/0.3871, allocations: 0.644 MB / 0.6474 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3871, allocations: 0 / 0.6474 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.3871, allocations: 26.09 kB / 0.6474 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.3872, allocations: 13.88 kB / 0.6474 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.3879, allocations: 472.4 kB / 0.6479 GB, free: 17.34 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.003337/0.3912, allocations: 2.889 MB / 0.6507 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.3918, allocations: 309.5 kB / 0.651 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.3921, allocations: 156.8 kB / 0.6512 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.3922, allocations: 348.8 kB / 0.6515 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.3923, allocations: 44.97 kB / 0.6515 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.3923, allocations: 0 / 0.6515 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001041/0.3933, allocations: 0.5477 MB / 0.6521 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.3934, allocations: 55.5 kB / 0.6521 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/0.3943, allocations: 0.8928 MB / 0.653 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.293e-05/0.3944, allocations: 59.05 kB / 0.653 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.3947, allocations: 0.5255 MB / 0.6536 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/0.3948, allocations: 109.1 kB / 0.6537 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.3948, allocations: 19.59 kB / 0.6537 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.3949, allocations: 326.2 kB / 0.654 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.3952, allocations: 179.6 kB / 0.6542 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000942/0.3962, allocations: 1.142 MB / 0.6553 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.3966, allocations: 306.5 kB / 0.6556 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3966, allocations: 0 / 0.6556 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001024/0.3976, allocations: 0.6457 MB / 0.6562 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.3977, allocations: 150.2 kB / 0.6563 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3977, allocations: 2.281 kB / 0.6563 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3977, allocations: 10.44 kB / 0.6564 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.3989, allocations: 238.7 kB / 0.6566 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008223/0.3997, allocations: 2.964 MB / 0.6595 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.4024, allocations: 0.748 MB / 0.6602 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.4025, allocations: 25.98 kB / 0.6602 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/0.4025, allocations: 3.312 kB / 0.6602 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008097/0.4033, allocations: 0.4998 MB / 0.6607 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.4033, allocations: 1.688 kB / 0.6607 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.4033, allocations: 10.11 kB / 0.6607 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.4039, allocations: 158.3 kB / 0.6609 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4039, allocations: 5.016 kB / 0.6609 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.4064, allocations: 0.7383 MB / 0.6616 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.4065, allocations: 29.55 kB / 0.6616 GB, free: 8.277 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.0003247/0.4068, allocations: 327.2 kB / 0.662 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.953e-05/0.4069, allocations: 95.22 kB / 0.662 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009486/0.4079, allocations: 0.5374 MB / 0.6626 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.4079, allocations: 4.906 kB / 0.6626 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4079, allocations: 1.797 kB / 0.6626 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4079, allocations: 1.406 kB / 0.6626 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.4095, allocations: 1.26 MB / 0.6638 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4096, allocations: 1.062 kB / 0.6638 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.41, allocations: 120.2 kB / 0.6639 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.41, allocations: 6.078 kB / 0.6639 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.41, allocations: 16.12 kB / 0.6639 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000643/0.4107, allocations: 2.938 MB / 0.6668 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.4107, allocations: 5.922 kB / 0.6668 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.4114, allocations: 0.5844 MB / 0.6674 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.4116, allocations: 225.7 kB / 0.6676 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.4117, allocations: 8.547 kB / 0.6676 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.4122, allocations: 63.53 kB / 0.6677 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.4122, allocations: 26.67 kB / 0.6677 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.4123, allocations: 16.8 kB / 0.6677 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006078/0.4129, allocations: 0.6048 MB / 0.6683 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4129, allocations: 4 kB / 0.6683 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001118/0.414, allocations: 0.5424 MB / 0.6688 GB, free: 3.172 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.0005139/0.4145, allocations: 323.1 kB / 0.6691 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.4165, allocations: 0.8503 MB / 0.67 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4165, allocations: 0.9688 kB / 0.67 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004973/0.417, allocations: 233.5 kB / 0.6702 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.419, allocations: 495.9 kB / 0.6707 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.421, allocations: 1.801 MB / 0.6724 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.4214, allocations: 1.03 MB / 0.6734 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007585/0.4222, allocations: 209 kB / 0.6736 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.4223, allocations: 82.3 kB / 0.6737 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4223, allocations: 0 / 0.6737 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of Templates: time 0.03357/0.4559, allocations: 23.78 MB / 0.6969 GB, free: 5.859 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (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)