Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006575/0.0006575, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004112/0.004112, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.112/1.112, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.8214/0.8214, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002483, allocations: 12 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 83.41 MB / 0.5978 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.2215/0.3438, allocations: 14.95 MB / 0.6124 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.3477, allocations: 4.296 MB / 0.6166 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.3479, allocations: 13.88 kB / 0.6166 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.3485, allocations: 223.8 kB / 0.6169 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007729/0.3493, allocations: 0.557 MB / 0.6174 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.3503, allocations: 0.6284 MB / 0.618 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007939/0.3511, allocations: 1.31 MB / 0.6193 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.3514, allocations: 287.7 kB / 0.6196 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.3518, allocations: 379 kB / 0.6199 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.352, allocations: 311.9 kB / 0.6202 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.3521, allocations: 11.91 kB / 0.6202 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006121/0.3527, allocations: 0.599 MB / 0.6208 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.3528, allocations: 97.39 kB / 0.6209 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.3529, allocations: 231.5 kB / 0.6211 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005394/0.3534, allocations: 0.7455 MB / 0.6219 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3535, allocations: 2.938 kB / 0.6219 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3535, allocations: 0 / 0.6219 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.3535, allocations: 3.938 kB / 0.6219 GB, free: 31.79 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007307/0.3542, allocations: 0.7534 MB / 0.6226 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.521e-05/0.3542, allocations: 8.75 kB / 0.6226 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.3543, allocations: 57.69 kB / 0.6227 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.3547, allocations: 423.2 kB / 0.6231 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3547, allocations: 19.44 kB / 0.6231 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.3547, allocations: 24.56 kB / 0.6231 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.3551, allocations: 220.7 kB / 0.6233 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3551, allocations: 0 / 0.6233 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.3551, allocations: 6 kB / 0.6233 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3551, allocations: 9.844 kB / 0.6233 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.3554, allocations: 176.9 kB / 0.6235 GB, free: 30.87 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.001088/0.3565, allocations: 0.9615 MB / 0.6245 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.3568, allocations: 130.6 kB / 0.6246 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.3569, allocations: 80.22 kB / 0.6247 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.357, allocations: 339.5 kB / 0.625 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.3571, allocations: 30.56 kB / 0.625 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.3571, allocations: 0 / 0.625 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004794/0.3576, allocations: 265.9 kB / 0.6253 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.3576, allocations: 54.72 kB / 0.6253 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.3579, allocations: 476.2 kB / 0.6258 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.358, allocations: 32.11 kB / 0.6258 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.3581, allocations: 224.3 kB / 0.626 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.3581, allocations: 51.12 kB / 0.6261 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.3581, allocations: 27.81 kB / 0.6261 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/0.3582, allocations: 361.7 kB / 0.6264 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3583, allocations: 71.53 kB / 0.6265 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.3585, allocations: 160.5 kB / 0.6267 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.3588, allocations: 171.4 kB / 0.6268 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3588, allocations: 0 / 0.6268 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003853/0.3592, allocations: 268.2 kB / 0.6271 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.3593, allocations: 107.6 kB / 0.6272 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3593, allocations: 4 kB / 0.6272 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3593, allocations: 2.469 kB / 0.6272 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.3595, allocations: 51.16 kB / 0.6272 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3595, allocations: 0 / 0.6272 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.3598, allocations: 57.77 kB / 0.6273 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.3598, allocations: 9 kB / 0.6273 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.248e-06/0.3598, allocations: 2.562 kB / 0.6273 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003277/0.3601, allocations: 190.8 kB / 0.6275 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.3602, allocations: 2.469 kB / 0.6275 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-06/0.3602, allocations: 0 / 0.6275 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.3603, allocations: 56.39 kB / 0.6275 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.3603, allocations: 3.203 kB / 0.6275 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3606, allocations: 40.08 kB / 0.6276 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.3606, allocations: 8.344 kB / 0.6276 GB, free: 28.65 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001138/0.3607, allocations: 244 kB / 0.6278 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.3608, allocations: 49.06 kB / 0.6279 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.3612, allocations: 259 kB / 0.6281 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3612, allocations: 2.688 kB / 0.6281 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3612, allocations: 0 / 0.6281 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3612, allocations: 0 / 0.6281 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006647/0.3619, allocations: 0.7229 MB / 0.6288 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3619, allocations: 0.8125 kB / 0.6288 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.362, allocations: 30.62 kB / 0.6288 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.362, allocations: 7.047 kB / 0.6289 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3621, allocations: 6.844 kB / 0.6289 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3621, allocations: 2.656 kB / 0.6289 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3621, allocations: 10.62 kB / 0.6289 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.3624, allocations: 359.6 kB / 0.6292 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.3625, allocations: 146.5 kB / 0.6294 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.3625, allocations: 2.969 kB / 0.6294 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.3627, allocations: 25.27 kB / 0.6294 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.3628, allocations: 17.14 kB / 0.6294 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3628, allocations: 9.969 kB / 0.6294 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002294/0.363, allocations: 332.8 kB / 0.6297 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.363, allocations: 0 / 0.6297 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004738/0.3635, allocations: 203.6 kB / 0.6299 GB, free: 27.21 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 (16): * Single equations (assignments): 14 * 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.0008267/0.3644, allocations: 485.5 kB / 0.6304 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.3648, allocations: 282.1 kB / 0.6307 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3649, allocations: 2.812 kB / 0.6307 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.365, allocations: 97.67 kB / 0.6308 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.3661, allocations: 219.5 kB / 0.631 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.3669, allocations: 0.866 MB / 0.6318 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.3671, allocations: 0.8207 MB / 0.6326 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000224/0.3673, allocations: 89.03 kB / 0.6327 GB, free: 25.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.3674, allocations: 41.7 kB / 0.6327 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.3674, allocations: 4 kB / 0.6327 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.01012/0.3775, allocations: 8.378 MB / 0.6409 GB, free: 24.85 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)