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.001066/0.001066, allocations: 115 kB / 17.09 MB, free: 5.988 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.001201/0.001201, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.311/1.311, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7375/0.7375, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.12 kB / 0.5583 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1588, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02214/0.1809, allocations: 20.72 MB / 0.653 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007784/0.1888, allocations: 4.951 MB / 0.6578 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009485/0.1898, allocations: 19.88 kB / 0.6578 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.1908, allocations: 270.1 kB / 0.6581 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.1934, allocations: 0.8223 MB / 0.6589 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.1955, allocations: 0.7099 MB / 0.6596 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002143/0.1977, allocations: 1.39 MB / 0.6609 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008583/0.1986, allocations: 460.3 kB / 0.6614 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.1998, allocations: 0.572 MB / 0.6619 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009475/0.2008, allocations: 450 kB / 0.6624 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.201, allocations: 36 kB / 0.6624 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.2024, allocations: 0.6355 MB / 0.663 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.2026, allocations: 127.5 kB / 0.6631 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.2031, allocations: 286.5 kB / 0.6634 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.2046, allocations: 0.8489 MB / 0.6642 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2047, allocations: 0 / 0.6642 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2047, allocations: 0 / 0.6642 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.417e-05/0.2047, allocations: 4 kB / 0.6642 GB, free: 4.02 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.001878/0.2066, allocations: 0.9226 MB / 0.6651 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2066, allocations: 8.031 kB / 0.6651 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.2069, allocations: 64.19 kB / 0.6652 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008662/0.2077, allocations: 475.3 kB / 0.6657 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.2078, allocations: 28.66 kB / 0.6657 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.2078, allocations: 36 kB / 0.6657 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.2085, allocations: 309.9 kB / 0.666 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2086, allocations: 0 / 0.666 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.2086, allocations: 15.94 kB / 0.666 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.2086, allocations: 8 kB / 0.666 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.2093, allocations: 262.4 kB / 0.6663 GB, free: 1.82 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.002424/0.2117, allocations: 1.329 MB / 0.6676 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.2122, allocations: 259.1 kB / 0.6678 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.2126, allocations: 132.8 kB / 0.668 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/0.213, allocations: 0.4986 MB / 0.6684 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.2131, allocations: 42.59 kB / 0.6685 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 3.005e-06/0.2131, allocations: 0 / 0.6685 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.00194/0.215, allocations: 0.5602 MB / 0.669 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2151, allocations: 55.41 kB / 0.6691 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005481/0.2156, allocations: 462.2 kB / 0.6695 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.2157, allocations: 29.7 kB / 0.6696 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.2159, allocations: 248.4 kB / 0.6698 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/0.216, allocations: 90.73 kB / 0.6699 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.2161, allocations: 73.69 kB / 0.67 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2163, allocations: 358.8 kB / 0.6703 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.2166, allocations: 120.8 kB / 0.6704 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.217, allocations: 184.7 kB / 0.6706 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/0.2176, allocations: 266.6 kB / 0.6708 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2176, allocations: 4 kB / 0.6708 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001576/0.2192, allocations: 498.7 kB / 0.6713 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2192, allocations: 4 kB / 0.6713 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2192, allocations: 4 kB / 0.6713 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/0.2196, allocations: 52.88 kB / 0.6714 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.22, allocations: 71.89 kB / 0.6714 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005273/0.2205, allocations: 0.5602 MB / 0.672 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.221, allocations: 59.61 kB / 0.672 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.221, allocations: 12 kB / 0.6721 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004147/0.2215, allocations: 240 kB / 0.6723 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003385/0.2218, allocations: 185.4 kB / 0.6725 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005612/0.2224, allocations: 264.7 kB / 0.6727 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.2224, allocations: 0 / 0.6727 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007906/0.2232, allocations: 365.9 kB / 0.6731 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2232, allocations: 11.94 kB / 0.6731 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.2232, allocations: 0 / 0.6731 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.401e-06/0.2232, allocations: 0 / 0.6731 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.2236, allocations: 79.88 kB / 0.6732 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.2236, allocations: 15.88 kB / 0.6732 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.2241, allocations: 43.8 kB / 0.6732 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.2241, allocations: 16 kB / 0.6732 GB, free: 10.29 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.0001561/0.2243, allocations: 192.2 kB / 0.6734 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2244, allocations: 51.42 kB / 0.6735 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009699/0.2254, allocations: 423.8 kB / 0.6739 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2254, allocations: 144 / 0.6739 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2254, allocations: 3.984 kB / 0.6739 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.2256, allocations: 152.4 kB / 0.674 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.2257, allocations: 4 kB / 0.674 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.226, allocations: 23.97 kB / 0.674 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.2261, allocations: 20.2 kB / 0.6741 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001132/0.2272, allocations: 458.1 kB / 0.6745 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001129/0.2284, allocations: 0.6815 MB / 0.6752 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003124/0.2287, allocations: 137.5 kB / 0.6753 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003594/0.2291, allocations: 318.9 kB / 0.6756 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of Backend: time 3.8e-07/0.2291, allocations: 0 / 0.6756 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001979/0.2311, allocations: 0.6176 MB / 0.6762 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002446/0.2335, allocations: 1.372 MB / 0.6775 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of Templates: time 0.02282/0.2564, allocations: 11.54 MB / 0.6888 GB, free: 10.35 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)