Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 108.8 kB / 16.37 MB, free: 6.016 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.0009766/0.0009767, allocations: 195.2 kB / 17.31 MB, free: 5.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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.817/0.817, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 71.88 kB / 0.5156 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3101, allocations: 82.03 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01727/0.3274, allocations: 20.74 MB / 0.6159 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006716/0.3341, allocations: 4.953 MB / 0.6208 GB, free: 6.422 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005976/0.3348, allocations: 19.88 kB / 0.6208 GB, free: 6.402 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.3356, allocations: 275.8 kB / 0.6211 GB, free: 6.133 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.3375, allocations: 0.805 MB / 0.6219 GB, free: 5.332 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.3392, allocations: 0.7301 MB / 0.6226 GB, free: 4.621 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.3407, allocations: 1.378 MB / 0.6239 GB, free: 3.238 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.3413, allocations: 447 kB / 0.6243 GB, free: 2.809 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008096/0.3421, allocations: 0.5797 MB / 0.6249 GB, free: 2.227 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.3426, allocations: 442.1 kB / 0.6253 GB, free: 1.793 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.3427, allocations: 36 kB / 0.6254 GB, free: 1.758 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.3437, allocations: 0.6394 MB / 0.626 GB, free: 1.117 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.3439, allocations: 127.4 kB / 0.6261 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.3441, allocations: 286.5 kB / 0.6264 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009956/0.3451, allocations: 0.8661 MB / 0.6272 GB, free: 15.85 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3452, allocations: 4 kB / 0.6272 GB, free: 15.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3452, allocations: 4 kB / 0.6272 GB, free: 15.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.3452, allocations: 0 / 0.6272 GB, free: 15.84 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001454/0.3466, allocations: 0.9303 MB / 0.6281 GB, free: 14.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.3467, allocations: 8.031 kB / 0.6281 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3468, allocations: 64.19 kB / 0.6282 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006887/0.3475, allocations: 479.4 kB / 0.6287 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3475, allocations: 28.66 kB / 0.6287 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.3476, allocations: 32 kB / 0.6287 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.3482, allocations: 306 kB / 0.629 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3482, allocations: 0 / 0.629 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.3483, allocations: 16 kB / 0.629 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3483, allocations: 8 kB / 0.629 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006064/0.3489, allocations: 258.4 kB / 0.6293 GB, free: 13.64 MB / 478.1 MB 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.002042/0.3509, allocations: 1.345 MB / 0.6306 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.3514, allocations: 266.4 kB / 0.6309 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.3517, allocations: 128.8 kB / 0.631 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003858/0.3521, allocations: 0.4986 MB / 0.6315 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.3522, allocations: 38.56 kB / 0.6315 GB, free: 11.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.3522, allocations: 0 / 0.6315 GB, free: 11.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.001678/0.3539, allocations: 0.5626 MB / 0.632 GB, free: 10.53 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3539, allocations: 55.41 kB / 0.6321 GB, free: 10.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.3544, allocations: 462.1 kB / 0.6325 GB, free: 10 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.3545, allocations: 33.7 kB / 0.6326 GB, free: 9.965 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.3546, allocations: 244.5 kB / 0.6328 GB, free: 9.719 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.3547, allocations: 82.75 kB / 0.6329 GB, free: 9.637 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3548, allocations: 77.62 kB / 0.633 GB, free: 9.555 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.355, allocations: 362.8 kB / 0.6333 GB, free: 9.191 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.3553, allocations: 128.5 kB / 0.6334 GB, free: 9.062 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.3557, allocations: 177 kB / 0.6336 GB, free: 8.871 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/0.3563, allocations: 266.4 kB / 0.6339 GB, free: 8.602 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3563, allocations: 0 / 0.6339 GB, free: 8.602 MB / 478.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001518/0.3578, allocations: 498.2 kB / 0.6343 GB, free: 8.105 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3578, allocations: 4 kB / 0.6343 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3578, allocations: 0 / 0.6343 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/0.3582, allocations: 60.88 kB / 0.6344 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.3585, allocations: 67.89 kB / 0.6345 GB, free: 7.973 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004424/0.359, allocations: 0.5679 MB / 0.635 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.3594, allocations: 59.73 kB / 0.6351 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.3595, allocations: 8 kB / 0.6351 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003999/0.3599, allocations: 244 kB / 0.6353 GB, free: 7.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003327/0.3602, allocations: 178 kB / 0.6355 GB, free: 6.879 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005594/0.3608, allocations: 255.2 kB / 0.6357 GB, free: 6.625 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.3608, allocations: 4 kB / 0.6357 GB, free: 6.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007441/0.3616, allocations: 372.7 kB / 0.6361 GB, free: 6.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3616, allocations: 6.031 kB / 0.6361 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3616, allocations: 4 kB / 0.6361 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-06/0.3616, allocations: 0 / 0.6361 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.362, allocations: 87.81 kB / 0.6362 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.362, allocations: 0 / 0.6362 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.3624, allocations: 47.94 kB / 0.6362 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.3624, allocations: 12 kB / 0.6362 GB, free: 6.098 MB / 478.1 MB 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 (34): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.3626, allocations: 202.6 kB / 0.6364 GB, free: 5.895 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.3627, allocations: 47.42 kB / 0.6365 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008843/0.3635, allocations: 438.2 kB / 0.6369 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.3636, allocations: 4 kB / 0.6369 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3636, allocations: 0 / 0.6369 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3636, allocations: 0 / 0.6369 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.365, allocations: 0.9495 MB / 0.6378 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.365, allocations: 0 / 0.6378 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.3652, allocations: 52.03 kB / 0.6379 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.3654, allocations: 36.83 kB / 0.6379 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.3654, allocations: 11.98 kB / 0.6379 GB, free: 4.285 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003182/0.3657, allocations: 0.5562 MB / 0.6385 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3657, allocations: 3.938 kB / 0.6385 GB, free: 3.699 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007484/0.3665, allocations: 494.9 kB / 0.6389 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.3667, allocations: 168.4 kB / 0.6391 GB, free: 3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.3667, allocations: 4 kB / 0.6391 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.3671, allocations: 23.97 kB / 0.6391 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.3671, allocations: 23.91 kB / 0.6391 GB, free: 2.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.3672, allocations: 19.88 kB / 0.6392 GB, free: 2.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000314/0.3675, allocations: 322.9 kB / 0.6395 GB, free: 2.617 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3675, allocations: 4 kB / 0.6395 GB, free: 2.613 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006657/0.3682, allocations: 247.5 kB / 0.6397 GB, free: 2.371 MB / 478.1 MB 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004519/0.3686, allocations: 252 kB / 0.6399 GB, free: 2.125 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.3697, allocations: 470.1 kB / 0.6404 GB, free: 1.668 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3697, allocations: 0 / 0.6404 GB, free: 1.668 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.3701, allocations: 169.8 kB / 0.6406 GB, free: 1.504 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.3711, allocations: 219.9 kB / 0.6408 GB, free: 1.301 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3723, allocations: 0.823 MB / 0.6416 GB, free: 452 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.3728, allocations: 0.8664 MB / 0.6424 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003344/0.3731, allocations: 123.9 kB / 0.6425 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.3732, allocations: 43.42 kB / 0.6426 GB, free: 15.39 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3732, allocations: 0 / 0.6426 GB, free: 15.39 MB / 494.1 MB Notification: Performance of Templates: time 0.01641/0.3896, allocations: 10.24 MB / 0.6526 GB, free: 5.324 MB / 494.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)