Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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.00136/0.00136, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001461/0.001461, allocations: 167.5 kB / 22.46 MB, free: 5.371 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.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.242/1.242, allocations: 154.6 MB / 413.8 MB, free: 5.188 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.11e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5589/0.5589, allocations: 153 MB / 0.768 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003647/0.5626, allocations: 1.768 MB / 0.7697 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000508/0.5631, allocations: 20.03 kB / 0.7697 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008159/0.5639, allocations: 214.1 kB / 0.7699 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.5662, allocations: 0.7918 MB / 0.7707 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.5694, allocations: 0.9158 MB / 0.7716 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002041/0.5715, allocations: 0.8583 MB / 0.7724 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.5722, allocations: 226.2 kB / 0.7726 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.5744, allocations: 0.7041 MB / 0.7733 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.5749, allocations: 234.8 kB / 0.7735 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.252e-05/0.575, allocations: 30.25 kB / 0.7736 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002082/0.5771, allocations: 0.9052 MB / 0.7745 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.5773, allocations: 133.9 kB / 0.7746 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.5775, allocations: 141 kB / 0.7747 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.5795, allocations: 0.9211 MB / 0.7756 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5795, allocations: 0 / 0.7756 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5795, allocations: 0 / 0.7756 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.5796, allocations: 0 / 0.7756 GB, free: 6.988 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001904/0.5815, allocations: 0.711 MB / 0.7763 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.5815, allocations: 11.19 kB / 0.7763 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.5826, allocations: 157.3 kB / 0.7765 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.5833, allocations: 308 kB / 0.7768 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.5833, allocations: 20.16 kB / 0.7768 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.5834, allocations: 31.38 kB / 0.7768 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007373/0.5841, allocations: 396.3 kB / 0.7772 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5841, allocations: 0 / 0.7772 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.5842, allocations: 10.75 kB / 0.7772 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.5842, allocations: 16.25 kB / 0.7772 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/0.5849, allocations: 343.2 kB / 0.7776 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.5868, allocations: 1.231 MB / 0.7788 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.5873, allocations: 224.2 kB / 0.779 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.5876, allocations: 129.6 kB / 0.7791 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004792/0.5881, allocations: 72.42 kB / 0.7792 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.5881, allocations: 41.09 kB / 0.7792 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/0.5881, allocations: 0 / 0.7792 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20): time 0.001019/0.5891, allocations: 382.7 kB / 0.7796 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.5892, allocations: 57.84 kB / 0.7796 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.5895, allocations: 268.5 kB / 0.7799 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.5895, allocations: 32.67 kB / 0.7799 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.5897, allocations: 203.6 kB / 0.7801 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.5898, allocations: 75.36 kB / 0.7802 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.5898, allocations: 49.28 kB / 0.7802 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.59, allocations: 340.5 kB / 0.7805 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.5902, allocations: 92.88 kB / 0.7806 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.5905, allocations: 234.9 kB / 0.7809 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.591, allocations: 256.7 kB / 0.7811 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.591, allocations: 0 / 0.7811 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006121/0.5917, allocations: 301.1 kB / 0.7814 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5917, allocations: 15.19 kB / 0.7814 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.5917, allocations: 2.938 kB / 0.7814 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5917, allocations: 2.875 kB / 0.7814 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.592, allocations: 53.38 kB / 0.7815 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.592, allocations: 0 / 0.7815 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.5922, allocations: 26.5 kB / 0.7815 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.5923, allocations: 11.95 kB / 0.7815 GB, free: 2.668 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.0001912/0.5924, allocations: 160.3 kB / 0.7816 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.5925, allocations: 32.91 kB / 0.7817 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006742/0.5932, allocations: 287.9 kB / 0.782 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.5932, allocations: 7.188 kB / 0.782 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5932, allocations: 0 / 0.782 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5932, allocations: 7.922 kB / 0.782 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.5946, allocations: 0.7894 MB / 0.7827 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.5946, allocations: 5.188 kB / 0.7827 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.5948, allocations: 36.75 kB / 0.7828 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.5948, allocations: 5.844 kB / 0.7828 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.5948, allocations: 11.33 kB / 0.7828 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.5948, allocations: 8.875 kB / 0.7828 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5948, allocations: 6.562 kB / 0.7828 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.5955, allocations: 436.9 kB / 0.7832 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.5956, allocations: 53.94 kB / 0.7833 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.5956, allocations: 5.656 kB / 0.7833 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.5959, allocations: 15.64 kB / 0.7833 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.5959, allocations: 26.52 kB / 0.7833 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.5959, allocations: 12.06 kB / 0.7833 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002073/0.5961, allocations: 187 kB / 0.7835 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5961, allocations: 0 / 0.7835 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004794/0.5966, allocations: 106.6 kB / 0.7836 GB, free: 1.133 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000292/0.5969, allocations: 168.2 kB / 0.7838 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005562/0.5975, allocations: 233.2 kB / 0.784 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5975, allocations: 384 / 0.784 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.5977, allocations: 122.5 kB / 0.7841 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/0.5986, allocations: 150.3 kB / 0.7843 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.5997, allocations: 0.6167 MB / 0.7849 GB, free: 308 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.5999, allocations: 190.7 kB / 0.785 GB, free: 176 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002546/0.6002, allocations: 78.78 kB / 0.7851 GB, free: 136 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.6002, allocations: 26.94 kB / 0.7851 GB, free: 128 kB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.6002, allocations: 0 / 0.7851 GB, free: 128 kB / 0.6231 GB Notification: Performance of Templates: time 0.01193/0.6122, allocations: 5.712 MB / 0.7907 GB, free: 13.27 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5976462960243225] Failed to read output from testmodel.py, exit status != 0: 0.6220524609088898 0.636353762 0.053562724000000006 Calling exit ...