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.00116/0.00116, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001243/0.001243, allocations: 191 kB / 17.29 MB, free: 5.516 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 14.99 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.8737/0.8737, allocations: 143.1 MB / 434.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3586, allocations: 82.04 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01533/0.374, allocations: 20.74 MB / 0.6159 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006178/0.3802, allocations: 4.948 MB / 0.6208 GB, free: 6.469 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.3807, allocations: 19.88 kB / 0.6208 GB, free: 6.449 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.3815, allocations: 271.1 kB / 0.621 GB, free: 6.184 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.3832, allocations: 0.815 MB / 0.6218 GB, free: 5.375 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.3848, allocations: 0.7258 MB / 0.6226 GB, free: 4.664 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.3862, allocations: 1.378 MB / 0.6239 GB, free: 3.281 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005329/0.3868, allocations: 451.3 kB / 0.6243 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007875/0.3876, allocations: 0.5681 MB / 0.6249 GB, free: 2.281 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.3881, allocations: 449.4 kB / 0.6253 GB, free: 1.844 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.3882, allocations: 36 kB / 0.6253 GB, free: 1.809 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.3892, allocations: 0.6394 MB / 0.626 GB, free: 1.168 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.3894, allocations: 127.5 kB / 0.6261 GB, free: 1.043 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.3896, allocations: 286.4 kB / 0.6264 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009954/0.3906, allocations: 0.8662 MB / 0.6272 GB, free: 15.9 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3906, allocations: 0 / 0.6272 GB, free: 15.9 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3906, allocations: 7.938 kB / 0.6272 GB, free: 15.89 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3907, allocations: 0 / 0.6272 GB, free: 15.89 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.001474/0.3921, allocations: 0.9304 MB / 0.6281 GB, free: 14.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3922, allocations: 8.031 kB / 0.6281 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.3923, allocations: 68.19 kB / 0.6282 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006986/0.393, allocations: 475.4 kB / 0.6287 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.393, allocations: 24.66 kB / 0.6287 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.3931, allocations: 32 kB / 0.6287 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.3937, allocations: 314 kB / 0.629 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3937, allocations: 0 / 0.629 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.3938, allocations: 12 kB / 0.629 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3938, allocations: 8 kB / 0.629 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.3944, allocations: 262.4 kB / 0.6293 GB, free: 13.69 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.001969/0.3963, allocations: 1.337 MB / 0.6306 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.3968, allocations: 254.5 kB / 0.6308 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.3971, allocations: 136.8 kB / 0.631 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000383/0.3975, allocations: 0.5025 MB / 0.6314 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3975, allocations: 38.59 kB / 0.6315 GB, free: 11.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.3975, allocations: 0 / 0.6315 GB, free: 11.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.001642/0.3992, allocations: 0.5587 MB / 0.632 GB, free: 10.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.3992, allocations: 55.39 kB / 0.6321 GB, free: 10.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.3997, allocations: 466.1 kB / 0.6325 GB, free: 10.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.3998, allocations: 33.7 kB / 0.6326 GB, free: 10.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.3999, allocations: 248.6 kB / 0.6328 GB, free: 9.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.4, allocations: 82.73 kB / 0.6329 GB, free: 9.688 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.4001, allocations: 77.62 kB / 0.6329 GB, free: 9.605 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4002, allocations: 362.8 kB / 0.6333 GB, free: 9.242 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.4005, allocations: 124.5 kB / 0.6334 GB, free: 9.117 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.4009, allocations: 181 kB / 0.6336 GB, free: 8.922 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.4014, allocations: 265.7 kB / 0.6338 GB, free: 8.656 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4014, allocations: 0 / 0.6338 GB, free: 8.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00146/0.4029, allocations: 0.4911 MB / 0.6343 GB, free: 8.156 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4029, allocations: 5.562 kB / 0.6343 GB, free: 8.152 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4029, allocations: 0 / 0.6343 GB, free: 8.152 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003554/0.4033, allocations: 52.81 kB / 0.6344 GB, free: 8.098 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.4037, allocations: 75.83 kB / 0.6344 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003912/0.4041, allocations: 0.5602 MB / 0.635 GB, free: 7.438 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.4044, allocations: 55.72 kB / 0.635 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.4045, allocations: 11.98 kB / 0.6351 GB, free: 7.371 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003797/0.4049, allocations: 236 kB / 0.6353 GB, free: 7.137 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003233/0.4052, allocations: 190.1 kB / 0.6355 GB, free: 6.934 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005138/0.4057, allocations: 253.7 kB / 0.6357 GB, free: 6.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.4057, allocations: 0 / 0.6357 GB, free: 6.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007214/0.4065, allocations: 376.9 kB / 0.6361 GB, free: 6.309 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.4065, allocations: 4 kB / 0.6361 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.4065, allocations: 3.938 kB / 0.6361 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.4065, allocations: 4 kB / 0.6361 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.4069, allocations: 87.83 kB / 0.6362 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4069, allocations: 7.922 kB / 0.6362 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.4073, allocations: 47.8 kB / 0.6362 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.4073, allocations: 12 kB / 0.6362 GB, free: 6.145 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.0001349/0.4075, allocations: 194.5 kB / 0.6364 GB, free: 5.949 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.4075, allocations: 47.38 kB / 0.6365 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008919/0.4084, allocations: 432.1 kB / 0.6369 GB, free: 5.469 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.4085, allocations: 4 kB / 0.6369 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4085, allocations: 144 / 0.6369 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.4085, allocations: 3.984 kB / 0.6369 GB, free: 5.461 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.4099, allocations: 0.9534 MB / 0.6378 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4099, allocations: 0 / 0.6378 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.4101, allocations: 52.03 kB / 0.6379 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.4103, allocations: 40.83 kB / 0.6379 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.4103, allocations: 4 kB / 0.6379 GB, free: 4.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003281/0.4107, allocations: 0.564 MB / 0.6385 GB, free: 3.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4107, allocations: 7.875 kB / 0.6385 GB, free: 3.742 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00073/0.4114, allocations: 494.9 kB / 0.6389 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.4116, allocations: 156.4 kB / 0.6391 GB, free: 3.055 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.4117, allocations: 8 kB / 0.6391 GB, free: 3.047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.412, allocations: 27.95 kB / 0.6391 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.4121, allocations: 23.92 kB / 0.6391 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.4121, allocations: 11.98 kB / 0.6391 GB, free: 2.984 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003381/0.4124, allocations: 322.9 kB / 0.6395 GB, free: 2.672 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4124, allocations: 4 kB / 0.6395 GB, free: 2.668 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007276/0.4132, allocations: 243.5 kB / 0.6397 GB, free: 2.43 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.0005345/0.4137, allocations: 269 kB / 0.6399 GB, free: 2.176 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.4148, allocations: 464.2 kB / 0.6404 GB, free: 1.723 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4148, allocations: 0 / 0.6404 GB, free: 1.723 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.4152, allocations: 167.8 kB / 0.6406 GB, free: 1.559 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009599/0.4162, allocations: 223.7 kB / 0.6408 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.4176, allocations: 0.8252 MB / 0.6416 GB, free: 496 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.418, allocations: 0.8587 MB / 0.6424 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003575/0.4184, allocations: 113.7 kB / 0.6425 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.4185, allocations: 43.42 kB / 0.6426 GB, free: 15.45 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4185, allocations: 0 / 0.6426 GB, free: 15.45 MB / 494.1 MB Notification: Performance of Templates: time 0.01662/0.4351, allocations: 10.25 MB / 0.6526 GB, free: 5.379 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)