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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 96.09 kB / 20.43 MB, free: 4.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9516/0.9516, allocations: 177.1 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6154/0.6154, allocations: 115 MB / 375.7 MB, free: 7.598 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 481.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.57e-05, allocations: 2.312 kB / 481.5 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.008144/0.008169, allocations: 9.14 MB / 490.6 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004119/0.01229, allocations: 3.399 MB / 494 MB, free: 3.387 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005875/0.01288, allocations: 25.62 kB / 494.1 MB, free: 3.371 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.0134, allocations: 179.4 kB / 494.2 MB, free: 3.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.01492, allocations: 0.783 MB / 495 MB, free: 2.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.01614, allocations: 0.6492 MB / 495.7 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.0176, allocations: 1.405 MB / 497.1 MB, free: 1.855 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004557/0.01806, allocations: 403 kB / 497.5 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008347/0.01889, allocations: 0.7572 MB / 498.2 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.01938, allocations: 438 kB / 498.7 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.003e-05/0.01946, allocations: 48.84 kB / 498.7 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.02028, allocations: 496.5 kB / 499.2 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.0204, allocations: 159.6 kB / 499.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.02061, allocations: 223.1 kB / 499.6 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000938/0.02154, allocations: 0.7667 MB / 0.4886 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.02155, allocations: 0.5625 kB / 0.4886 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02155, allocations: 2.562 kB / 0.4886 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.02156, allocations: 0 / 0.4886 GB, free: 0.5664 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001418/0.02298, allocations: 1.031 MB / 0.4896 GB, free: 15.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.02303, allocations: 11.95 kB / 0.4896 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.02407, allocations: 270.3 kB / 0.4899 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008622/0.02494, allocations: 0.4983 MB / 0.4904 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.02497, allocations: 30.25 kB / 0.4904 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.02503, allocations: 32.38 kB / 0.4904 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.02564, allocations: 280.7 kB / 0.4907 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.02566, allocations: 1.469 kB / 0.4907 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.02569, allocations: 10.06 kB / 0.4907 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.0257, allocations: 5.719 kB / 0.4907 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.02602, allocations: 146.4 kB / 0.4908 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.02773, allocations: 1.054 MB / 0.4919 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.02817, allocations: 206.3 kB / 0.4921 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.02834, allocations: 88.16 kB / 0.4922 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.02851, allocations: 34.44 kB / 0.4922 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.02854, allocations: 36.44 kB / 0.4922 GB, free: 14.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 3.236e-06/0.02854, allocations: 0 / 0.4922 GB, free: 14.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006728/0.02922, allocations: 286.6 kB / 0.4925 GB, free: 14.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.02926, allocations: 65.69 kB / 0.4926 GB, free: 14.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005925/0.02985, allocations: 0.5535 MB / 0.4931 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.02989, allocations: 31.77 kB / 0.4931 GB, free: 14.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.03008, allocations: 311.5 kB / 0.4934 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/0.03014, allocations: 65.81 kB / 0.4935 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.03033, allocations: 134.7 kB / 0.4936 GB, free: 13.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.0305, allocations: 0.5332 MB / 0.4941 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.03074, allocations: 113.8 kB / 0.4943 GB, free: 13.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.03114, allocations: 472.6 kB / 0.4947 GB, free: 12.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.03155, allocations: 239.9 kB / 0.4949 GB, free: 12.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.03155, allocations: 0 / 0.4949 GB, free: 12.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001719/0.03327, allocations: 0.5899 MB / 0.4955 GB, free: 12.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.03329, allocations: 7.891 kB / 0.4955 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.0333, allocations: 3.938 kB / 0.4955 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.03458, allocations: 255.1 kB / 0.4958 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.03491, allocations: 107.7 kB / 0.4959 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004788/0.03538, allocations: 0.8246 MB / 0.4967 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.03576, allocations: 60.48 kB / 0.4967 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.03581, allocations: 23.89 kB / 0.4967 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002993/0.03611, allocations: 232.2 kB / 0.497 GB, free: 11.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003648/0.03648, allocations: 484.1 kB / 0.4974 GB, free: 10.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003594/0.03684, allocations: 230.8 kB / 0.4977 GB, free: 10.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.03684, allocations: 0 / 0.4977 GB, free: 10.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0006493/0.03749, allocations: 415.2 kB / 0.498 GB, free: 9.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.0375, allocations: 4.609 kB / 0.4981 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.0375, allocations: 1.406 kB / 0.4981 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.03751, allocations: 4.516 kB / 0.4981 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.03787, allocations: 121.3 kB / 0.4982 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.03787, allocations: 5.281 kB / 0.4982 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.0382, allocations: 67.36 kB / 0.4982 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.03824, allocations: 23.84 kB / 0.4983 GB, free: 9.801 MB / 426.7 MB 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 (50): * Single equations (assignments): 49 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.0384, allocations: 290.1 kB / 0.4985 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/0.03849, allocations: 56.38 kB / 0.4986 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.03905, allocations: 293 kB / 0.4989 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.03906, allocations: 4.656 kB / 0.4989 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.03906, allocations: 0.5 kB / 0.4989 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.03907, allocations: 1.938 kB / 0.4989 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.04036, allocations: 0.8509 MB / 0.4997 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.04036, allocations: 0.5625 kB / 0.4997 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007085/0.04107, allocations: 136.5 kB / 0.4998 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.04108, allocations: 8.969 kB / 0.4999 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.0411, allocations: 9.312 kB / 0.4999 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006354/0.04174, allocations: 0.9564 MB / 0.5008 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.04174, allocations: 0.6562 kB / 0.5008 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.04225, allocations: 436.4 kB / 0.5012 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.04242, allocations: 101.3 kB / 0.5013 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.04248, allocations: 10.53 kB / 0.5013 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.0427, allocations: 27.31 kB / 0.5013 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.04277, allocations: 20.42 kB / 0.5014 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.0428, allocations: 16.77 kB / 0.5014 GB, free: 6.797 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003494/0.04315, allocations: 374.7 kB / 0.5017 GB, free: 6.484 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04315, allocations: 0 / 0.5017 GB, free: 6.484 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007251/0.04387, allocations: 322.5 kB / 0.502 GB, free: 6.172 MB / 426.7 MB 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003524/0.04422, allocations: 201.3 kB / 0.5022 GB, free: 5.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008981/0.04512, allocations: 471.2 kB / 0.5027 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.666e-06/0.04512, allocations: 0 / 0.5027 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.04591, allocations: 202.8 kB / 0.5029 GB, free: 5.418 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.04659, allocations: 214.4 kB / 0.5031 GB, free: 5.262 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.048, allocations: 0.8204 MB / 0.5039 GB, free: 4.445 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.155e-05/0.04809, allocations: 124.3 kB / 0.504 GB, free: 4.328 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004379/0.04852, allocations: 154 kB / 0.5042 GB, free: 4.207 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.04869, allocations: 49.84 kB / 0.5042 GB, free: 4.164 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.04869, allocations: 0 / 0.5042 GB, free: 4.164 MB / 426.7 MB Notification: Performance of Templates: time 0.01956/0.06826, allocations: 15.29 MB / 0.5191 GB, free: 5.621 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9330749451182783]