Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001549/0.001549, allocations: 106.5 kB / 16.4 MB, free: 6.023 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.001769/0.001769, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7237/0.7237, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 71.61 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1879, allocations: 76.19 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02384/0.2118, allocations: 20.72 MB / 0.6523 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007676/0.2195, allocations: 4.939 MB / 0.6571 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008206/0.2204, allocations: 23.81 kB / 0.6571 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009252/0.2213, allocations: 282 kB / 0.6574 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.2239, allocations: 0.8474 MB / 0.6582 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.2259, allocations: 0.7244 MB / 0.659 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.2278, allocations: 1.395 MB / 0.6603 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006279/0.2284, allocations: 436.4 kB / 0.6607 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.2296, allocations: 0.5876 MB / 0.6613 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.2302, allocations: 442.1 kB / 0.6617 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.2303, allocations: 40 kB / 0.6618 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.2316, allocations: 0.6355 MB / 0.6624 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.2317, allocations: 127.5 kB / 0.6625 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.232, allocations: 290.5 kB / 0.6628 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.2333, allocations: 0.8411 MB / 0.6636 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2333, allocations: 4 kB / 0.6636 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2333, allocations: 0 / 0.6636 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.2333, allocations: 0 / 0.6636 GB, free: 3.977 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.001614/0.235, allocations: 0.9226 MB / 0.6645 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.235, allocations: 11.97 kB / 0.6645 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.2352, allocations: 64.19 kB / 0.6646 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.2359, allocations: 483.3 kB / 0.665 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.236, allocations: 20.66 kB / 0.6651 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.236, allocations: 36 kB / 0.6651 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.2367, allocations: 310 kB / 0.6654 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2367, allocations: 4 kB / 0.6654 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.2368, allocations: 8 kB / 0.6654 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2368, allocations: 8 kB / 0.6654 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.2374, allocations: 262.4 kB / 0.6657 GB, free: 1.777 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.002224/0.2397, allocations: 1.333 MB / 0.667 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.2402, allocations: 266.4 kB / 0.6672 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.2405, allocations: 136.4 kB / 0.6673 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/0.241, allocations: 0.4947 MB / 0.6678 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.241, allocations: 34.56 kB / 0.6679 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.241, allocations: 0 / 0.6679 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001801/0.2428, allocations: 0.565 MB / 0.6684 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.2429, allocations: 51.41 kB / 0.6685 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/0.2434, allocations: 462.2 kB / 0.6689 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.2435, allocations: 33.7 kB / 0.6689 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.2437, allocations: 256.2 kB / 0.6692 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.2438, allocations: 82.75 kB / 0.6693 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.2439, allocations: 73.69 kB / 0.6693 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.244, allocations: 358.8 kB / 0.6697 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.2444, allocations: 120.8 kB / 0.6698 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.2448, allocations: 188.8 kB / 0.67 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/0.2454, allocations: 268.9 kB / 0.6702 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2454, allocations: 0 / 0.6702 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001591/0.247, allocations: 497.5 kB / 0.6707 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2471, allocations: 8 kB / 0.6707 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2471, allocations: 0 / 0.6707 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003793/0.2475, allocations: 52.75 kB / 0.6708 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.2478, allocations: 71.94 kB / 0.6708 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004624/0.2483, allocations: 0.564 MB / 0.6714 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.2488, allocations: 51.64 kB / 0.6714 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.2488, allocations: 16 kB / 0.6714 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004655/0.2493, allocations: 236 kB / 0.6717 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003575/0.2497, allocations: 185.5 kB / 0.6718 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005917/0.2503, allocations: 257.1 kB / 0.6721 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.2503, allocations: 0 / 0.6721 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008059/0.2511, allocations: 372.8 kB / 0.6724 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2511, allocations: 4 kB / 0.6724 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2511, allocations: 0 / 0.6724 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.2512, allocations: 4 kB / 0.6725 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.2516, allocations: 83.81 kB / 0.6725 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2516, allocations: 4 kB / 0.6725 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.252, allocations: 51.8 kB / 0.6726 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.2521, allocations: 12 kB / 0.6726 GB, free: 10.25 MB / 0.5137 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.0001744/0.2522, allocations: 201.7 kB / 0.6728 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.155e-05/0.2523, allocations: 43.44 kB / 0.6728 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.2534, allocations: 424.1 kB / 0.6732 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.2534, allocations: 15.98 kB / 0.6733 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2534, allocations: 3.938 kB / 0.6733 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2534, allocations: 3.984 kB / 0.6733 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.255, allocations: 0.9457 MB / 0.6742 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.255, allocations: 4 kB / 0.6742 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.2553, allocations: 51.91 kB / 0.6742 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001891/0.2555, allocations: 36.83 kB / 0.6743 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.2555, allocations: 8 kB / 0.6743 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003837/0.2559, allocations: 0.5642 MB / 0.6748 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2559, allocations: 7.875 kB / 0.6748 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/0.2567, allocations: 491 kB / 0.6753 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.2569, allocations: 144.5 kB / 0.6754 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.257, allocations: 11.98 kB / 0.6755 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.2573, allocations: 23.97 kB / 0.6755 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.2574, allocations: 27.86 kB / 0.6755 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.2574, allocations: 19.98 kB / 0.6755 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003835/0.2578, allocations: 318.9 kB / 0.6758 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2578, allocations: 0 / 0.6758 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008112/0.2587, allocations: 259.5 kB / 0.6761 GB, free: 6.516 MB / 0.5137 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.0005623/0.2592, allocations: 246.5 kB / 0.6763 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.2605, allocations: 471.4 kB / 0.6768 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2605, allocations: 0 / 0.6768 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.261, allocations: 168.4 kB / 0.6769 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.2621, allocations: 224.9 kB / 0.6771 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2637, allocations: 0.8214 MB / 0.6779 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.2642, allocations: 0.8627 MB / 0.6788 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004431/0.2646, allocations: 120.1 kB / 0.6789 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2647, allocations: 39.42 kB / 0.6789 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.2647, allocations: 0 / 0.6789 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of Templates: time 0.0185/0.2832, allocations: 10.18 MB / 0.6889 GB, free: 9.488 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)