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.0009065/0.0009065, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 180.7 kB / 16.92 MB, free: 6.652 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.642/1.642, allocations: 223.3 MB / 241 MB, free: 5.285 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 1.003/1.003, allocations: 143.2 MB / 435.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 8 kB / 0.517 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2278, allocations: 83.42 MB / 0.5985 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.3513/0.5792, allocations: 20.04 MB / 0.6181 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006638/0.5859, allocations: 4.921 MB / 0.6229 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008474/0.5868, allocations: 20.66 kB / 0.6229 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008217/0.5876, allocations: 217.9 kB / 0.6231 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.5898, allocations: 0.7509 MB / 0.6238 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.5918, allocations: 0.6403 MB / 0.6245 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.594, allocations: 1.814 MB / 0.6262 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006382/0.5946, allocations: 363.3 kB / 0.6266 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.5958, allocations: 0.5277 MB / 0.6271 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006088/0.5964, allocations: 441.5 kB / 0.6275 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.5964, allocations: 21.91 kB / 0.6275 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.5977, allocations: 0.604 MB / 0.6281 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.5978, allocations: 110.6 kB / 0.6282 GB, free: 28.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.5981, allocations: 288.8 kB / 0.6285 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.5988, allocations: 0.6028 MB / 0.6291 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5988, allocations: 3.938 kB / 0.6291 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5988, allocations: 0 / 0.6291 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.5989, allocations: 0 / 0.6291 GB, free: 28.01 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.001333/0.6002, allocations: 0.8289 MB / 0.6299 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.6002, allocations: 13.44 kB / 0.6299 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.6004, allocations: 71.03 kB / 0.63 GB, free: 27.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.6009, allocations: 453.3 kB / 0.6304 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.6009, allocations: 28.34 kB / 0.6305 GB, free: 27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.601, allocations: 35.45 kB / 0.6305 GB, free: 26.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.6016, allocations: 315.5 kB / 0.6308 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6017, allocations: 4 kB / 0.6308 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.6017, allocations: 18.98 kB / 0.6308 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.6017, allocations: 5.812 kB / 0.6308 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.6023, allocations: 283.5 kB / 0.6311 GB, free: 26.78 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.001984/0.6043, allocations: 1.356 MB / 0.6324 GB, free: 25.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.6048, allocations: 265.9 kB / 0.6327 GB, free: 25.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.6051, allocations: 146.4 kB / 0.6328 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004066/0.6055, allocations: 0.5016 MB / 0.6333 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.6056, allocations: 36.31 kB / 0.6333 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.6056, allocations: 0 / 0.6333 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001698/0.6073, allocations: 0.5947 MB / 0.6339 GB, free: 24.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.6073, allocations: 54.44 kB / 0.634 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.6078, allocations: 472.2 kB / 0.6344 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.6078, allocations: 32.55 kB / 0.6344 GB, free: 24.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.608, allocations: 246.4 kB / 0.6347 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.608, allocations: 78.38 kB / 0.6348 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.6081, allocations: 39.8 kB / 0.6348 GB, free: 24.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6082, allocations: 356.2 kB / 0.6351 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.6085, allocations: 124.5 kB / 0.6353 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.6089, allocations: 195.5 kB / 0.6354 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.6095, allocations: 303.1 kB / 0.6357 GB, free: 23.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6095, allocations: 0 / 0.6357 GB, free: 23.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00145/0.6109, allocations: 0.5031 MB / 0.6362 GB, free: 23.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.611, allocations: 104.8 kB / 0.6363 GB, free: 23.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.611, allocations: 0 / 0.6363 GB, free: 23.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/0.6114, allocations: 59.23 kB / 0.6364 GB, free: 23.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.6117, allocations: 77.23 kB / 0.6364 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003235/0.612, allocations: 0.5637 MB / 0.637 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.6126, allocations: 70.23 kB / 0.6371 GB, free: 22.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.6126, allocations: 19.95 kB / 0.6371 GB, free: 22.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.6126, allocations: 2.781 kB / 0.6371 GB, free: 22.77 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006555/0.6133, allocations: 326 kB / 0.6374 GB, free: 22.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-06/0.6133, allocations: 0 / 0.6374 GB, free: 22.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-06/0.6133, allocations: 3 kB / 0.6374 GB, free: 22.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.6137, allocations: 89.33 kB / 0.6375 GB, free: 22.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.6137, allocations: 2.562 kB / 0.6375 GB, free: 22.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.6141, allocations: 58.62 kB / 0.6375 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.6141, allocations: 24 kB / 0.6376 GB, free: 22.64 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 (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.0002436/0.6144, allocations: 246 kB / 0.6378 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.6145, allocations: 50.09 kB / 0.6379 GB, free: 22.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009336/0.6154, allocations: 443.5 kB / 0.6383 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.6154, allocations: 2.812 kB / 0.6383 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6154, allocations: 0 / 0.6383 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6154, allocations: 3.328 kB / 0.6383 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.6168, allocations: 0.9777 MB / 0.6392 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6168, allocations: 0 / 0.6392 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.6171, allocations: 56.19 kB / 0.6393 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001689/0.6172, allocations: 44.94 kB / 0.6393 GB, free: 21.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.6173, allocations: 6.688 kB / 0.6393 GB, free: 21.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002677/0.6176, allocations: 0.5583 MB / 0.6399 GB, free: 21.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.6176, allocations: 6.641 kB / 0.6399 GB, free: 21.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/0.6183, allocations: 0.5137 MB / 0.6404 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.6185, allocations: 163 kB / 0.6405 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.6186, allocations: 10.34 kB / 0.6406 GB, free: 20.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.6189, allocations: 40.06 kB / 0.6406 GB, free: 20.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.619, allocations: 23.27 kB / 0.6406 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.619, allocations: 11.98 kB / 0.6406 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003321/0.6194, allocations: 330.2 kB / 0.6409 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6194, allocations: 0 / 0.6409 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007797/0.6202, allocations: 249.5 kB / 0.6412 GB, free: 20.4 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 (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.0005348/0.6207, allocations: 267.8 kB / 0.6414 GB, free: 20.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.6219, allocations: 493.6 kB / 0.6419 GB, free: 20.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6219, allocations: 0 / 0.6419 GB, free: 20.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.6223, allocations: 175.5 kB / 0.6421 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.6238, allocations: 253.6 kB / 0.6423 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.6252, allocations: 1.058 MB / 0.6433 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.6255, allocations: 0.8524 MB / 0.6442 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.6256, allocations: 46.22 kB / 0.6442 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.6256, allocations: 0 / 0.6442 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.0193/0.6449, allocations: 10.33 MB / 0.6543 GB, free: 17.55 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)