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.0008003/0.0008004, allocations: 91.84 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.0008771/0.0008771, 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.16/1.16, allocations: 223.3 MB / 240 MB, free: 5.426 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.8656/0.8656, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.000267, allocations: 8 kB / 0.5158 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1275, allocations: 83.42 MB / 0.5972 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.2331/0.3607, allocations: 19.02 MB / 0.6158 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003775/0.3645, allocations: 4.638 MB / 0.6203 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.3647, allocations: 15.78 kB / 0.6204 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.3652, allocations: 189.7 kB / 0.6205 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.3662, allocations: 0.6588 MB / 0.6212 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.3673, allocations: 0.5998 MB / 0.6218 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001052/0.3684, allocations: 1.557 MB / 0.6233 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.3687, allocations: 341.3 kB / 0.6236 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005161/0.3692, allocations: 0.4956 MB / 0.6241 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.3696, allocations: 418.9 kB / 0.6245 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.3697, allocations: 20.84 kB / 0.6245 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006917/0.3704, allocations: 0.5278 MB / 0.625 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.3705, allocations: 102.2 kB / 0.6251 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.3706, allocations: 124.3 kB / 0.6252 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.371, allocations: 0.5869 MB / 0.6258 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.371, allocations: 0 / 0.6258 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.371, allocations: 1.031 kB / 0.6258 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.371, allocations: 4 kB / 0.6258 GB, free: 29.69 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009924/0.372, allocations: 0.836 MB / 0.6266 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.58e-05/0.372, allocations: 8.25 kB / 0.6266 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.3721, allocations: 63.47 kB / 0.6267 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.3725, allocations: 434.1 kB / 0.6271 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3726, allocations: 23.66 kB / 0.6271 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.3726, allocations: 36.12 kB / 0.6272 GB, free: 28.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.3731, allocations: 321.2 kB / 0.6275 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3731, allocations: 0 / 0.6275 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.3731, allocations: 10.84 kB / 0.6275 GB, free: 28.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3731, allocations: 16.27 kB / 0.6275 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.3736, allocations: 279.4 kB / 0.6278 GB, free: 28.48 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.001481/0.3751, allocations: 1.36 MB / 0.6291 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.3755, allocations: 260.9 kB / 0.6294 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.3757, allocations: 149.6 kB / 0.6295 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.376, allocations: 0.4975 MB / 0.63 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.376, allocations: 33.44 kB / 0.63 GB, free: 26.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.183e-06/0.376, allocations: 0 / 0.63 GB, free: 26.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001302/0.3773, allocations: 0.59 MB / 0.6306 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.3774, allocations: 62.09 kB / 0.6307 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.3777, allocations: 453.4 kB / 0.6311 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3777, allocations: 36.3 kB / 0.6311 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3778, allocations: 243.3 kB / 0.6314 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.3779, allocations: 88.08 kB / 0.6314 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.3779, allocations: 4 kB / 0.6314 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.737e-05/0.378, allocations: 367 kB / 0.6318 GB, free: 25.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.3782, allocations: 123.9 kB / 0.6319 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.3785, allocations: 193.2 kB / 0.6321 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.3788, allocations: 139.6 kB / 0.6322 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3788, allocations: 4 kB / 0.6322 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007319/0.3795, allocations: 419.3 kB / 0.6326 GB, free: 25.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.3796, allocations: 116.9 kB / 0.6327 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3796, allocations: 3 kB / 0.6327 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.3798, allocations: 57.03 kB / 0.6328 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.3801, allocations: 76.77 kB / 0.6329 GB, free: 25.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002486/0.3804, allocations: 0.5652 MB / 0.6334 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.3808, allocations: 63.31 kB / 0.6335 GB, free: 24.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.3808, allocations: 27 kB / 0.6335 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.441e-06/0.3808, allocations: 2.781 kB / 0.6335 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005555/0.3814, allocations: 318.3 kB / 0.6338 GB, free: 24.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-06/0.3814, allocations: 0 / 0.6338 GB, free: 24.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/0.3814, allocations: 7.719 kB / 0.6338 GB, free: 24.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.3817, allocations: 84.09 kB / 0.6339 GB, free: 24.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.3817, allocations: 0.8594 kB / 0.6339 GB, free: 24.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.3821, allocations: 66.03 kB / 0.634 GB, free: 24.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.3821, allocations: 19.03 kB / 0.634 GB, free: 24.43 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.3822, allocations: 242.5 kB / 0.6342 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.3823, allocations: 48.98 kB / 0.6343 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007382/0.3831, allocations: 441.3 kB / 0.6347 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3831, allocations: 2.906 kB / 0.6347 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3831, allocations: 0 / 0.6347 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3831, allocations: 7.375 kB / 0.6347 GB, free: 24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.3842, allocations: 0.9798 MB / 0.6357 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3842, allocations: 0 / 0.6357 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.3844, allocations: 59.88 kB / 0.6357 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/0.3845, allocations: 44.95 kB / 0.6358 GB, free: 23.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.3846, allocations: 9.953 kB / 0.6358 GB, free: 23.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001914/0.3848, allocations: 0.5555 MB / 0.6363 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3848, allocations: 3.953 kB / 0.6363 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.3854, allocations: 0.4983 MB / 0.6368 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.3855, allocations: 164.5 kB / 0.6369 GB, free: 22.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.3855, allocations: 10.94 kB / 0.637 GB, free: 22.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.3858, allocations: 40.72 kB / 0.637 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.3859, allocations: 26.89 kB / 0.637 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.3859, allocations: 8.781 kB / 0.637 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002344/0.3862, allocations: 323.9 kB / 0.6373 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3862, allocations: 4 kB / 0.6373 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005829/0.3868, allocations: 246.3 kB / 0.6376 GB, free: 22.2 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003629/0.3871, allocations: 261.8 kB / 0.6378 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008909/0.388, allocations: 0.489 MB / 0.6383 GB, free: 21.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.388, allocations: 2.781 kB / 0.6383 GB, free: 21.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.3884, allocations: 174.8 kB / 0.6385 GB, free: 21.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3894, allocations: 246.5 kB / 0.6387 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3905, allocations: 0.9798 MB / 0.6397 GB, free: 21.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3907, allocations: 0.8602 MB / 0.6405 GB, free: 20.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003457/0.391, allocations: 120.5 kB / 0.6406 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/0.3911, allocations: 36.78 kB / 0.6407 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.3911, allocations: 0 / 0.6407 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.01381/0.405, allocations: 9.723 MB / 0.6502 GB, free: 19.59 MB / 0.4981 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)