Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 180.1 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.558/2.558, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009408/0.0009406, allocations: 98.22 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.0004521, allocations: 12.12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2471, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02334/0.2705, allocations: 19.06 MB / 0.9181 GB, free: 46.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008369/0.2789, allocations: 4.58 MB / 0.9226 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007824/0.2797, allocations: 15.88 kB / 0.9226 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.2807, allocations: 194.7 kB / 0.9228 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.2834, allocations: 0.6503 MB / 0.9234 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.286, allocations: 0.6143 MB / 0.924 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002486/0.2885, allocations: 1.559 MB / 0.9255 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007422/0.2893, allocations: 354.8 kB / 0.9259 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.2906, allocations: 0.494 MB / 0.9264 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007292/0.2913, allocations: 426.2 kB / 0.9268 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-05/0.2914, allocations: 24 kB / 0.9268 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.2929, allocations: 0.5223 MB / 0.9273 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.2931, allocations: 99.56 kB / 0.9274 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.2933, allocations: 129.4 kB / 0.9275 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.2943, allocations: 0.5536 MB / 0.9281 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2943, allocations: 0 / 0.9281 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2944, allocations: 4 kB / 0.9281 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.2944, allocations: 0 / 0.9281 GB, free: 36.18 MB / 0.6042 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.002099/0.2965, allocations: 0.8371 MB / 0.9289 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.2966, allocations: 16.03 kB / 0.9289 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.2967, allocations: 68.17 kB / 0.929 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008241/0.2976, allocations: 427.6 kB / 0.9294 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.2976, allocations: 28.66 kB / 0.9294 GB, free: 34.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/0.2977, allocations: 32 kB / 0.9294 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.2986, allocations: 322 kB / 0.9297 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2987, allocations: 0 / 0.9297 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.2987, allocations: 12 kB / 0.9297 GB, free: 34.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.2988, allocations: 12 kB / 0.9297 GB, free: 34.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.2998, allocations: 278.4 kB / 0.93 GB, free: 34.07 MB / 0.6042 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.003053/0.3028, allocations: 1.352 MB / 0.9313 GB, free: 32.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/0.3036, allocations: 266.4 kB / 0.9316 GB, free: 32.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004709/0.3041, allocations: 145.9 kB / 0.9317 GB, free: 32.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/0.3046, allocations: 0.4986 MB / 0.9322 GB, free: 31.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.3046, allocations: 30.56 kB / 0.9322 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 3.055e-06/0.3046, allocations: 4 kB / 0.9322 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.002752/0.3074, allocations: 0.6053 MB / 0.9328 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.3074, allocations: 51.41 kB / 0.9329 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006249/0.3081, allocations: 458.1 kB / 0.9333 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.3082, allocations: 37.7 kB / 0.9334 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.3083, allocations: 244.5 kB / 0.9336 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.063e-05/0.3084, allocations: 86.73 kB / 0.9337 GB, free: 30.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.3085, allocations: 4 kB / 0.9337 GB, free: 30 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.3086, allocations: 358.8 kB / 0.934 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.3091, allocations: 123.9 kB / 0.9341 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.3096, allocations: 181 kB / 0.9343 GB, free: 29.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.3102, allocations: 144.8 kB / 0.9345 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3102, allocations: 224 / 0.9345 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001657/0.3119, allocations: 430.7 kB / 0.9349 GB, free: 28.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.731e-05/0.312, allocations: 113.3 kB / 0.935 GB, free: 28.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.312, allocations: 0 / 0.935 GB, free: 28.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005009/0.3125, allocations: 56.88 kB / 0.935 GB, free: 28.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/0.3132, allocations: 75.89 kB / 0.9351 GB, free: 28.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004881/0.3137, allocations: 0.5601 MB / 0.9356 GB, free: 27.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/0.3146, allocations: 71.72 kB / 0.9357 GB, free: 27.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/0.3147, allocations: 12.09 kB / 0.9357 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3147, allocations: 9.5 kB / 0.9357 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/0.3159, allocations: 327.7 kB / 0.936 GB, free: 27.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3159, allocations: 0 / 0.936 GB, free: 27.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.487e-06/0.3159, allocations: 4 kB / 0.9361 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/0.3167, allocations: 87.88 kB / 0.9361 GB, free: 27.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3167, allocations: 4 kB / 0.9361 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/0.3176, allocations: 63.64 kB / 0.9362 GB, free: 27.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.3176, allocations: 19.98 kB / 0.9362 GB, free: 27.33 MB / 0.6042 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.0003233/0.318, allocations: 245 kB / 0.9365 GB, free: 27.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3181, allocations: 47.44 kB / 0.9365 GB, free: 27.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.3196, allocations: 435.9 kB / 0.9369 GB, free: 26.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3196, allocations: 3.984 kB / 0.9369 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.3196, allocations: 0 / 0.9369 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.3199, allocations: 160.3 kB / 0.9371 GB, free: 26.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.32, allocations: 8 kB / 0.9371 GB, free: 26.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.3207, allocations: 47.83 kB / 0.9371 GB, free: 26.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.3208, allocations: 16.16 kB / 0.9371 GB, free: 26.35 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001644/0.3224, allocations: 486 kB / 0.9376 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001728/0.3242, allocations: 0.705 MB / 0.9383 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004847/0.3247, allocations: 152.6 kB / 0.9384 GB, free: 24.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004753/0.3252, allocations: 318.9 kB / 0.9387 GB, free: 24.68 MB / 0.6042 GB Notification: Performance of Backend: time 1.282e-06/0.3252, allocations: 0 / 0.9387 GB, free: 24.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002631/0.3278, allocations: 0.623 MB / 0.9393 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003495/0.3314, allocations: 1.562 MB / 0.9409 GB, free: 22.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.02773/0.3592, allocations: 10.87 MB / 0.9515 GB, free: 11.69 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)