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.0008288/0.0008288, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008589/0.0008589, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8988/0.8988, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6996/0.6996, allocations: 154.6 MB / 414.5 MB, free: 0.8047 MB / 378.7 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 179] 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 3.306e-06/3.306e-06, allocations: 4 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/3.042e-05, allocations: 5.781 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3868/0.3868, allocations: 153 MB / 0.7687 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.3889, allocations: 1.765 MB / 0.7704 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.3891, allocations: 20.34 kB / 0.7705 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.3897, allocations: 218.5 kB / 0.7707 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.3909, allocations: 0.7877 MB / 0.7714 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.3923, allocations: 0.9185 MB / 0.7723 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006838/0.3929, allocations: 0.8593 MB / 0.7732 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.3933, allocations: 222.3 kB / 0.7734 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008486/0.3941, allocations: 0.709 MB / 0.7741 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.3943, allocations: 233 kB / 0.7743 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.3944, allocations: 30.58 kB / 0.7743 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000959/0.3953, allocations: 0.9008 MB / 0.7752 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3955, allocations: 134.4 kB / 0.7753 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.3956, allocations: 142.3 kB / 0.7755 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009705/0.3966, allocations: 0.926 MB / 0.7764 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3966, allocations: 0 / 0.7764 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3966, allocations: 0 / 0.7764 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3966, allocations: 0 / 0.7764 GB, free: 0.832 MB / 0.6355 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.001082/0.3976, allocations: 0.7097 MB / 0.7771 GB, free: 340 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3977, allocations: 9.875 kB / 0.7771 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005143/0.3982, allocations: 162.2 kB / 0.7772 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.3986, allocations: 307.9 kB / 0.7775 GB, free: 72 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.3986, allocations: 22.09 kB / 0.7775 GB, free: 64 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.3986, allocations: 26.62 kB / 0.7776 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.3991, allocations: 400.2 kB / 0.778 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3991, allocations: 0 / 0.778 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.3992, allocations: 11.56 kB / 0.778 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.3992, allocations: 19.14 kB / 0.778 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.3996, allocations: 338.3 kB / 0.7783 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.4008, allocations: 1.234 MB / 0.7795 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.4011, allocations: 222.2 kB / 0.7797 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.4013, allocations: 130.3 kB / 0.7798 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.4015, allocations: 73.06 kB / 0.7799 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.4015, allocations: 39.66 kB / 0.78 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.4015, allocations: 1.062 kB / 0.78 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0006155/0.4021, allocations: 379.1 kB / 0.7803 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.4022, allocations: 57.25 kB / 0.7804 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.4024, allocations: 274.1 kB / 0.7806 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.4024, allocations: 27.17 kB / 0.7807 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.4025, allocations: 208.4 kB / 0.7809 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.4025, allocations: 71.05 kB / 0.7809 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.4026, allocations: 54.2 kB / 0.781 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.4027, allocations: 338.1 kB / 0.7813 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.4028, allocations: 96.02 kB / 0.7814 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.403, allocations: 229.6 kB / 0.7816 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.4033, allocations: 253.6 kB / 0.7818 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4033, allocations: 1 kB / 0.7818 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003584/0.4036, allocations: 299.7 kB / 0.7821 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.4037, allocations: 9.844 kB / 0.7821 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4037, allocations: 5.375 kB / 0.7821 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4037, allocations: 7.344 kB / 0.7822 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4038, allocations: 53.06 kB / 0.7822 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4038, allocations: 4.062 kB / 0.7822 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.4039, allocations: 24.12 kB / 0.7822 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.4039, allocations: 15.28 kB / 0.7822 GB, free: 13.27 MB / 0.6511 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.0001082/0.404, allocations: 157.5 kB / 0.7824 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.4041, allocations: 33.12 kB / 0.7824 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.4044, allocations: 291.5 kB / 0.7827 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4044, allocations: 2.062 kB / 0.7827 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4045, allocations: 0 / 0.7827 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4045, allocations: 1.188 kB / 0.7827 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/0.4052, allocations: 0.7896 MB / 0.7835 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4052, allocations: 5.609 kB / 0.7835 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4053, allocations: 41.88 kB / 0.7835 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4053, allocations: 4.625 kB / 0.7835 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.4054, allocations: 15.47 kB / 0.7835 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.4054, allocations: 7.469 kB / 0.7836 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4054, allocations: 6.562 kB / 0.7836 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.4057, allocations: 435.5 kB / 0.784 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.4058, allocations: 50.28 kB / 0.784 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.4058, allocations: 8.594 kB / 0.784 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4059, allocations: 19.14 kB / 0.7841 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.406, allocations: 27.61 kB / 0.7841 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.406, allocations: 9.469 kB / 0.7841 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001269/0.4061, allocations: 189.2 kB / 0.7843 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.4061, allocations: 3.938 kB / 0.7843 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003004/0.4064, allocations: 108.8 kB / 0.7844 GB, free: 11.98 MB / 0.6511 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.0002056/0.4066, allocations: 156.7 kB / 0.7845 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.4069, allocations: 231 kB / 0.7847 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4069, allocations: 0 / 0.7847 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.4071, allocations: 122.3 kB / 0.7849 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.4076, allocations: 160.9 kB / 0.785 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.4083, allocations: 0.6413 MB / 0.7856 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.4084, allocations: 194.6 kB / 0.7858 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.4085, allocations: 33.91 kB / 0.7859 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of SimCode: time 4.21e-07/0.4085, allocations: 0 / 0.7859 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of Templates: time 0.004824/0.4133, allocations: 5.207 MB / 0.7909 GB, free: 10.57 MB / 0.6511 GB " [Timeout remaining time 660] 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.185936758294702] Failed to read output from testmodel.py, exit status != 0: 0.4192250771448016 0.426471654 0.028288431000000003 Calling exit ...