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.001679/0.001679, allocations: 119.9 kB / 17.09 MB, free: 5.957 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.002158/0.002158, allocations: 192.6 kB / 18.02 MB, free: 5.039 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.408/1.408, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7649/0.7649, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 71.84 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1621, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02199/0.1841, allocations: 20.72 MB / 0.653 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007096/0.1913, allocations: 4.947 MB / 0.6578 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007668/0.1921, allocations: 23.88 kB / 0.6578 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008478/0.193, allocations: 274 kB / 0.6581 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.1954, allocations: 0.818 MB / 0.6589 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.1976, allocations: 0.7112 MB / 0.6596 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002153/0.1997, allocations: 1.387 MB / 0.6609 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008823/0.2006, allocations: 448.4 kB / 0.6613 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.202, allocations: 0.5759 MB / 0.6619 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000811/0.2028, allocations: 458.1 kB / 0.6623 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.254e-05/0.2029, allocations: 40 kB / 0.6624 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.2042, allocations: 0.6238 MB / 0.663 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.2043, allocations: 131.4 kB / 0.6631 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000299/0.2046, allocations: 290.5 kB / 0.6634 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.2058, allocations: 0.845 MB / 0.6642 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2058, allocations: 4 kB / 0.6642 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2058, allocations: 0 / 0.6642 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.2058, allocations: 0 / 0.6642 GB, free: 4.059 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.001525/0.2073, allocations: 0.9226 MB / 0.6651 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2074, allocations: 8.031 kB / 0.6651 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.2075, allocations: 64.19 kB / 0.6652 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/0.2082, allocations: 479.3 kB / 0.6656 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.2083, allocations: 28.66 kB / 0.6657 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-05/0.2083, allocations: 36 kB / 0.6657 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.209, allocations: 306 kB / 0.666 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.209, allocations: 0 / 0.666 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.209, allocations: 12 kB / 0.666 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.209, allocations: 8 kB / 0.666 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.2097, allocations: 262.4 kB / 0.6663 GB, free: 1.863 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.002106/0.2118, allocations: 1.329 MB / 0.6676 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.2123, allocations: 258.4 kB / 0.6678 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.2126, allocations: 140.3 kB / 0.6679 GB, free: 16 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004198/0.213, allocations: 0.4986 MB / 0.6684 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.213, allocations: 42.55 kB / 0.6685 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.213, allocations: 0 / 0.6685 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001765/0.2148, allocations: 0.5572 MB / 0.669 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.2149, allocations: 55.41 kB / 0.6691 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/0.2154, allocations: 466.2 kB / 0.6695 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.2154, allocations: 37.7 kB / 0.6696 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.2156, allocations: 240.4 kB / 0.6698 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.2157, allocations: 86.75 kB / 0.6699 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.2158, allocations: 77.67 kB / 0.6699 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.216, allocations: 358.8 kB / 0.6703 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.2163, allocations: 120.8 kB / 0.6704 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.2167, allocations: 184.8 kB / 0.6706 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/0.2173, allocations: 285.1 kB / 0.6708 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2173, allocations: 0 / 0.6708 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001541/0.2188, allocations: 489.5 kB / 0.6713 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2188, allocations: 8 kB / 0.6713 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2189, allocations: 0 / 0.6713 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/0.2192, allocations: 56.75 kB / 0.6714 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.2196, allocations: 71.95 kB / 0.6714 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004429/0.2201, allocations: 0.5601 MB / 0.672 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.2205, allocations: 51.64 kB / 0.672 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.2205, allocations: 15.98 kB / 0.6721 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004295/0.221, allocations: 240.1 kB / 0.6723 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003376/0.2213, allocations: 177.4 kB / 0.6725 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005617/0.2219, allocations: 263.5 kB / 0.6727 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.2219, allocations: 0 / 0.6727 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007546/0.2227, allocations: 374.2 kB / 0.6731 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.2227, allocations: 4 kB / 0.6731 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-06/0.2227, allocations: 0 / 0.6731 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.2227, allocations: 4 kB / 0.6731 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.2231, allocations: 79.83 kB / 0.6731 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2231, allocations: 4 kB / 0.6731 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/0.2235, allocations: 47.8 kB / 0.6732 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.2236, allocations: 15.98 kB / 0.6732 GB, free: 10.33 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.0001557/0.2237, allocations: 196.2 kB / 0.6734 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.2238, allocations: 47.44 kB / 0.6734 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.2248, allocations: 427.9 kB / 0.6739 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.2249, allocations: 11.92 kB / 0.6739 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2249, allocations: 0 / 0.6739 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2249, allocations: 0 / 0.6739 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.2265, allocations: 0.9464 MB / 0.6748 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.2265, allocations: 4 kB / 0.6748 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.2267, allocations: 56.03 kB / 0.6748 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001809/0.2269, allocations: 40.83 kB / 0.6749 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.227, allocations: 16.11 kB / 0.6749 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003618/0.2273, allocations: 0.5562 MB / 0.6754 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/0.2273, allocations: 3.938 kB / 0.6754 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008519/0.2282, allocations: 495 kB / 0.6759 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.2284, allocations: 148.5 kB / 0.6761 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.2285, allocations: 8 kB / 0.6761 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.2288, allocations: 27.97 kB / 0.6761 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.2289, allocations: 27.84 kB / 0.6761 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.2289, allocations: 12 kB / 0.6761 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003797/0.2293, allocations: 322.9 kB / 0.6764 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2293, allocations: 0 / 0.6764 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008413/0.2302, allocations: 259.5 kB / 0.6767 GB, free: 6.598 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.0006284/0.2308, allocations: 249.2 kB / 0.6769 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.2321, allocations: 468.9 kB / 0.6774 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.2321, allocations: 0 / 0.6774 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00043/0.2326, allocations: 173.6 kB / 0.6775 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.2337, allocations: 219.3 kB / 0.6777 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.2353, allocations: 0.8582 MB / 0.6786 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.2358, allocations: 0.8509 MB / 0.6794 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.2359, allocations: 47.42 kB / 0.6795 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.2359, allocations: 0 / 0.6795 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of Templates: time 0.01546/0.2514, allocations: 10.16 MB / 0.6894 GB, free: 9.609 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)