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.001423/0.001423, allocations: 75.75 kB / 20.51 MB, free: 1.121 MB / 14.72 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.001501/0.001501, allocations: 164.7 kB / 23.76 MB, free: 4.191 MB / 14.72 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 1.434/1.434, allocations: 177.2 MB / 204.1 MB, free: 8.895 MB / 190.1 MB " [Timeout remaining time 178] 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.9608/0.9608, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 62.25 kB / 0.555 GB, free: 2.746 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1891, allocations: 89.14 MB / 0.6421 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02351/0.2126, allocations: 19.4 MB / 0.661 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007843/0.2204, allocations: 4.792 MB / 0.6657 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005701/0.221, allocations: 27.75 kB / 0.6657 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008603/0.2219, allocations: 278 kB / 0.666 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.2246, allocations: 1.056 MB / 0.667 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.2262, allocations: 0.6435 MB / 0.6676 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001796/0.228, allocations: 1.469 MB / 0.6691 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005801/0.2285, allocations: 404.9 kB / 0.6695 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.2298, allocations: 0.7277 MB / 0.6702 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007205/0.2305, allocations: 485.9 kB / 0.6706 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.956e-05/0.2306, allocations: 48 kB / 0.6707 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.2317, allocations: 0.5848 MB / 0.6713 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.2319, allocations: 151.4 kB / 0.6714 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.2322, allocations: 278.6 kB / 0.6717 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.2335, allocations: 0.973 MB / 0.6726 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2335, allocations: 0 / 0.6726 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2335, allocations: 0 / 0.6726 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.2335, allocations: 0 / 0.6726 GB, free: 10.18 MB / 0.5762 GB 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.002036/0.2355, allocations: 0.9767 MB / 0.6736 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2356, allocations: 8.031 kB / 0.6736 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.2374, allocations: 236.1 kB / 0.6738 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.2386, allocations: 0.519 MB / 0.6743 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.2386, allocations: 24.5 kB / 0.6743 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.596e-05/0.2387, allocations: 32 kB / 0.6744 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.2395, allocations: 381.6 kB / 0.6747 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2395, allocations: 0 / 0.6747 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.2396, allocations: 12 kB / 0.6747 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2396, allocations: 11.98 kB / 0.6748 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009122/0.2405, allocations: 337.8 kB / 0.6751 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.2429, allocations: 1.063 MB / 0.6761 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.2438, allocations: 360.4 kB / 0.6765 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/0.2443, allocations: 160.8 kB / 0.6766 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.2445, allocations: 47.95 kB / 0.6767 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2445, allocations: 34.56 kB / 0.6767 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 3.236e-06/0.2445, allocations: 7.984 kB / 0.6767 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001534/0.246, allocations: 0.5125 MB / 0.6772 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.2461, allocations: 51.41 kB / 0.6772 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008936/0.247, allocations: 0.5849 MB / 0.6778 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.247, allocations: 33.7 kB / 0.6779 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.2472, allocations: 264.8 kB / 0.6781 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.197e-05/0.2473, allocations: 75.61 kB / 0.6782 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.2476, allocations: 126 kB / 0.6783 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.2477, allocations: 362.8 kB / 0.6786 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.2484, allocations: 234.7 kB / 0.6789 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009422/0.2494, allocations: 0.5719 MB / 0.6794 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.2506, allocations: 449.5 kB / 0.6799 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2506, allocations: 0 / 0.6799 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00384/0.2544, allocations: 0.8333 MB / 0.6807 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.2544, allocations: 7.984 kB / 0.6807 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2545, allocations: 0 / 0.6807 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.2548, allocations: 100.8 kB / 0.6808 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.2555, allocations: 111.8 kB / 0.6809 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007027/0.2562, allocations: 0.5953 MB / 0.6815 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000998/0.2572, allocations: 95.77 kB / 0.6815 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.2573, allocations: 19.98 kB / 0.6816 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000859/0.2581, allocations: 372.9 kB / 0.6819 GB, free: 340 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009319/0.2591, allocations: 0.5562 MB / 0.6825 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001177/0.2602, allocations: 436.9 kB / 0.6829 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.2602, allocations: 0 / 0.6829 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001756/0.262, allocations: 0.6286 MB / 0.6835 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.262, allocations: 8 kB / 0.6835 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.262, allocations: 192 / 0.6835 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.262, allocations: 4 kB / 0.6835 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/0.2628, allocations: 131.8 kB / 0.6836 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2628, allocations: 4 kB / 0.6836 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009937/0.2638, allocations: 91.77 kB / 0.6837 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.396e-05/0.2639, allocations: 23.98 kB / 0.6837 GB, free: 14.36 MB / 0.5919 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 (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.0002189/0.2641, allocations: 212.1 kB / 0.684 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.2642, allocations: 47.67 kB / 0.684 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.2655, allocations: 481.9 kB / 0.6845 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.2655, allocations: 7.969 kB / 0.6845 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2655, allocations: 7.938 kB / 0.6845 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2655, allocations: 0 / 0.6845 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.268, allocations: 0.9852 MB / 0.6854 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.268, allocations: 3.938 kB / 0.6854 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/0.2697, allocations: 131.9 kB / 0.6856 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.2697, allocations: 7.984 kB / 0.6856 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.2698, allocations: 12.12 kB / 0.6856 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.2709, allocations: 0.6797 MB / 0.6862 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.2709, allocations: 8.016 kB / 0.6863 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.2721, allocations: 0.5497 MB / 0.6868 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.2723, allocations: 91.59 kB / 0.6869 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.2724, allocations: 8 kB / 0.6869 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.273, allocations: 47.88 kB / 0.6869 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.2731, allocations: 19.97 kB / 0.687 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.2731, allocations: 11.98 kB / 0.687 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006862/0.2738, allocations: 418.8 kB / 0.6874 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2738, allocations: 0 / 0.6874 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001077/0.2749, allocations: 347.3 kB / 0.6877 GB, free: 10.21 MB / 0.5919 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 (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.0005305/0.2754, allocations: 258.7 kB / 0.6879 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.2777, allocations: 0.7297 MB / 0.6887 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2777, allocations: 0 / 0.6887 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.2796, allocations: 278.2 kB / 0.6889 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.2807, allocations: 192.2 kB / 0.6891 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.2824, allocations: 0.888 MB / 0.69 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.2826, allocations: 263 kB / 0.6902 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006665/0.2833, allocations: 168 kB / 0.6904 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.2835, allocations: 48.48 kB / 0.6904 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.2835, allocations: 0 / 0.6904 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of Templates: time 0.3321/0.6156, allocations: 14.95 MB / 0.705 GB, free: 55.04 MB / 0.5919 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.632494713994674] Failed to read output from testmodel.py, exit status != 0: 0.6242118279915303 0.634867368 0.398743149 Calling exit ...