Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007868/0.0007869, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.0008321/0.0008321, allocations: 172.5 kB / 16.26 MB, free: 6.664 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.128/1.128, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.8296/0.8296, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002464, allocations: 8.188 kB / 0.5164 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 83.41 MB / 0.5978 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.2069/0.3279, allocations: 16.84 MB / 0.6143 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004173/0.3321, allocations: 4.86 MB / 0.619 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.3323, allocations: 16.31 kB / 0.619 GB, free: 32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.3328, allocations: 215.5 kB / 0.6192 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007548/0.3336, allocations: 0.554 MB / 0.6198 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009999/0.3346, allocations: 0.6489 MB / 0.6204 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.3353, allocations: 1.269 MB / 0.6217 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.3356, allocations: 281.3 kB / 0.6219 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.336, allocations: 378.5 kB / 0.6223 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.3362, allocations: 320.7 kB / 0.6226 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.3363, allocations: 14.75 kB / 0.6226 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006966/0.337, allocations: 0.6936 MB / 0.6233 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.3371, allocations: 111 kB / 0.6234 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3372, allocations: 255.1 kB / 0.6236 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006495/0.3379, allocations: 0.873 MB / 0.6245 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3379, allocations: 0 / 0.6245 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3379, allocations: 2.781 kB / 0.6245 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3379, allocations: 0 / 0.6245 GB, free: 30.66 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007779/0.3387, allocations: 0.7896 MB / 0.6253 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.3387, allocations: 8 kB / 0.6253 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.3389, allocations: 63.16 kB / 0.6253 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.3392, allocations: 447.7 kB / 0.6258 GB, free: 29.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3393, allocations: 26.12 kB / 0.6258 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.3393, allocations: 29.25 kB / 0.6258 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.3397, allocations: 292.6 kB / 0.6261 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3397, allocations: 0 / 0.6261 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3398, allocations: 11 kB / 0.6261 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3398, allocations: 7.344 kB / 0.6261 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.3401, allocations: 202.8 kB / 0.6263 GB, free: 29.6 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.001214/0.3413, allocations: 1.484 MB / 0.6277 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.3416, allocations: 169.3 kB / 0.6279 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.3417, allocations: 91.66 kB / 0.628 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.3428, allocations: 1.297 MB / 0.6293 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.124e-05/0.3428, allocations: 34.56 kB / 0.6293 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.3428, allocations: 0 / 0.6293 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0004834/0.3433, allocations: 267 kB / 0.6296 GB, free: 26.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/0.3433, allocations: 54.41 kB / 0.6296 GB, free: 26.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004354/0.3438, allocations: 0.5841 MB / 0.6302 GB, free: 26.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3438, allocations: 36.36 kB / 0.6302 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3439, allocations: 264.6 kB / 0.6305 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.3439, allocations: 58.97 kB / 0.6305 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.344, allocations: 30.5 kB / 0.6305 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.344, allocations: 359.4 kB / 0.6309 GB, free: 26.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3442, allocations: 77.67 kB / 0.631 GB, free: 25.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.3444, allocations: 218.7 kB / 0.6312 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.3447, allocations: 245.4 kB / 0.6314 GB, free: 25.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3447, allocations: 0 / 0.6314 GB, free: 25.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004356/0.3451, allocations: 322 kB / 0.6317 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.3452, allocations: 163.7 kB / 0.6319 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3452, allocations: 6.531 kB / 0.6319 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3452, allocations: 7.562 kB / 0.6319 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.3454, allocations: 67.66 kB / 0.6319 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3455, allocations: 8.484 kB / 0.632 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.3457, allocations: 49.28 kB / 0.632 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.3458, allocations: 16.88 kB / 0.632 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-06/0.3458, allocations: 5.812 kB / 0.632 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003701/0.3462, allocations: 243.2 kB / 0.6323 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.3462, allocations: 3.094 kB / 0.6323 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-06/0.3462, allocations: 6.844 kB / 0.6323 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.3464, allocations: 68.7 kB / 0.6323 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.3464, allocations: 6.938 kB / 0.6323 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.3466, allocations: 52.38 kB / 0.6324 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.3467, allocations: 17.62 kB / 0.6324 GB, free: 25.19 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001263/0.3468, allocations: 261.8 kB / 0.6327 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.3469, allocations: 47.53 kB / 0.6327 GB, free: 24.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.3473, allocations: 275.5 kB / 0.633 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3473, allocations: 6.938 kB / 0.633 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3473, allocations: 0 / 0.633 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3473, allocations: 0 / 0.633 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.348, allocations: 0.7508 MB / 0.6337 GB, free: 24.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.348, allocations: 0 / 0.6337 GB, free: 24.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.3481, allocations: 31.73 kB / 0.6337 GB, free: 24.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3481, allocations: 3.156 kB / 0.6337 GB, free: 24.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3482, allocations: 15.16 kB / 0.6337 GB, free: 24.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3482, allocations: 3.938 kB / 0.6338 GB, free: 24.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3482, allocations: 3.562 kB / 0.6338 GB, free: 24.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.3485, allocations: 355 kB / 0.6341 GB, free: 24.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.871e-05/0.3486, allocations: 159.1 kB / 0.6342 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.3487, allocations: 2.719 kB / 0.6342 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.3489, allocations: 22.58 kB / 0.6343 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.3489, allocations: 16.48 kB / 0.6343 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.3489, allocations: 6.812 kB / 0.6343 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003072/0.3492, allocations: 420.3 kB / 0.6347 GB, free: 23.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3492, allocations: 0 / 0.6347 GB, free: 23.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005377/0.3498, allocations: 232.7 kB / 0.6349 GB, free: 23.7 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008599/0.3506, allocations: 0.4973 MB / 0.6354 GB, free: 23.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005177/0.3512, allocations: 339.7 kB / 0.6357 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3512, allocations: 0 / 0.6357 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.3513, allocations: 86.89 kB / 0.6358 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3525, allocations: 258.4 kB / 0.6361 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.3534, allocations: 0.9967 MB / 0.637 GB, free: 22.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.3536, allocations: 0.8458 MB / 0.6379 GB, free: 22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002621/0.3538, allocations: 98.25 kB / 0.6379 GB, free: 21.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.3539, allocations: 35.09 kB / 0.638 GB, free: 21.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3539, allocations: 0 / 0.638 GB, free: 21.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.01284/0.3667, allocations: 9.943 MB / 0.6477 GB, free: 21.14 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)