Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.122/1.122, allocations: 175.7 MB / 479.1 MB, free: 3.438 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.98 kB / 0.6663 GB, free: 10.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2021, allocations: 94.55 MB / 0.7587 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01803/0.2202, allocations: 14.54 MB / 0.7729 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006032/0.2262, allocations: 3.658 MB / 0.7764 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006211/0.2268, allocations: 19.94 kB / 0.7765 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007259/0.2275, allocations: 210.7 kB / 0.7767 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.2293, allocations: 0.6181 MB / 0.7773 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.2303, allocations: 408.8 kB / 0.7776 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.2319, allocations: 1.089 MB / 0.7787 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/0.2323, allocations: 264.6 kB / 0.779 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.2336, allocations: 442.4 kB / 0.7794 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000474/0.2341, allocations: 322.6 kB / 0.7797 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.275e-05/0.2341, allocations: 32 kB / 0.7797 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006769/0.2348, allocations: 267.5 kB / 0.78 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.235, allocations: 99.61 kB / 0.7801 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.2352, allocations: 214.9 kB / 0.7803 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009736/0.2362, allocations: 0.5994 MB / 0.7809 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2362, allocations: 0 / 0.7809 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2362, allocations: 0 / 0.7809 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.2362, allocations: 0 / 0.7809 GB, free: 10.29 MB / 0.5919 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.001334/0.2375, allocations: 0.7531 MB / 0.7816 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2376, allocations: 12.03 kB / 0.7816 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.2378, allocations: 56.59 kB / 0.7817 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/0.2386, allocations: 475.5 kB / 0.7821 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.2386, allocations: 20.56 kB / 0.7821 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.2387, allocations: 27.95 kB / 0.7822 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.2393, allocations: 314.2 kB / 0.7825 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.2394, allocations: 0 / 0.7825 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.2394, allocations: 12 kB / 0.7825 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.2394, allocations: 8 kB / 0.7825 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.2399, allocations: 190.1 kB / 0.7827 GB, free: 8.324 MB / 0.5919 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.002029/0.242, allocations: 1.501 MB / 0.7841 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.2424, allocations: 142.6 kB / 0.7843 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.2426, allocations: 64.81 kB / 0.7843 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.2428, allocations: 89.11 kB / 0.7844 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.2431, allocations: 133.1 kB / 0.7845 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.2431, allocations: 0 / 0.7845 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006977/0.2438, allocations: 235.1 kB / 0.7848 GB, free: 6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.2438, allocations: 55.41 kB / 0.7848 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.2443, allocations: 353.7 kB / 0.7852 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.2443, allocations: 25.7 kB / 0.7852 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.2445, allocations: 216.1 kB / 0.7854 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.2445, allocations: 55.53 kB / 0.7854 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2447, allocations: 65.64 kB / 0.7855 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.2448, allocations: 338.8 kB / 0.7858 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.245, allocations: 67.95 kB / 0.7859 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.2453, allocations: 149.3 kB / 0.786 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.2458, allocations: 252.8 kB / 0.7863 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2458, allocations: 0 / 0.7863 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006375/0.2464, allocations: 308.9 kB / 0.7866 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/0.2465, allocations: 41.94 kB / 0.7866 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2465, allocations: 8 kB / 0.7866 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2465, allocations: 4 kB / 0.7866 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.2468, allocations: 51.91 kB / 0.7867 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2468, allocations: 4 kB / 0.7867 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.247, allocations: 35.77 kB / 0.7867 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.2471, allocations: 16 kB / 0.7867 GB, free: 3.863 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.2472, allocations: 157.8 kB / 0.7869 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.2473, allocations: 43.7 kB / 0.7869 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.2478, allocations: 196.4 kB / 0.7871 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2478, allocations: 0 / 0.7871 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2478, allocations: 4 kB / 0.7871 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005702/0.2484, allocations: 479.8 kB / 0.7876 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.2488, allocations: 353.4 kB / 0.7879 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2488, allocations: 4 kB / 0.7879 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.249, allocations: 35.86 kB / 0.7879 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.249, allocations: 7.938 kB / 0.7879 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.2491, allocations: 7.984 kB / 0.788 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2491, allocations: 0 / 0.788 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2491, allocations: 0 / 0.788 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006551/0.2497, allocations: 288.3 kB / 0.7882 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.2499, allocations: 120.9 kB / 0.7883 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.2499, allocations: 11.92 kB / 0.7884 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.2501, allocations: 15.98 kB / 0.7884 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.2502, allocations: 15.98 kB / 0.7884 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.2502, allocations: 7.984 kB / 0.7884 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002858/0.2505, allocations: 247.2 kB / 0.7886 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2505, allocations: 0 / 0.7886 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000456/0.251, allocations: 127.7 kB / 0.7887 GB, free: 1.594 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003535/0.2513, allocations: 210.9 kB / 0.7889 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.2519, allocations: 215.2 kB / 0.7892 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2519, allocations: 0 / 0.7892 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.252, allocations: 66.34 kB / 0.7892 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009571/0.253, allocations: 211.6 kB / 0.7894 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.2545, allocations: 0.7708 MB / 0.7902 GB, free: 92 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.255, allocations: 0.7957 MB / 0.7909 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/0.2551, allocations: 31.44 kB / 0.791 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of SimCode: time 4.9e-07/0.2551, allocations: 0 / 0.791 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of Templates: time 0.01025/0.2653, allocations: 6.204 MB / 0.797 GB, free: 9.082 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.891213198192418] Failed to read output from testmodel.py, exit status != 0: 0.2730498230084777 0.28686773800000004 0.047686423000000006 Calling exit ...