Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006952/0.0006952, allocations: 76.55 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.0007166/0.0007166, allocations: 181.9 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.8224/0.8224, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6617/0.6617, allocations: 154.5 MB / 414.5 MB, free: 0.8477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 3.984 kB / 0.6193 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.654e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3771/0.3771, allocations: 153 MB / 0.7686 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.3793, allocations: 1.752 MB / 0.7704 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.3795, allocations: 20.69 kB / 0.7704 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000693/0.3802, allocations: 218 kB / 0.7706 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.3817, allocations: 0.7881 MB / 0.7714 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.3828, allocations: 0.9285 MB / 0.7723 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007632/0.3836, allocations: 0.8473 MB / 0.7731 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.384, allocations: 237.6 kB / 0.7733 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008566/0.3848, allocations: 0.7053 MB / 0.774 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.385, allocations: 232.9 kB / 0.7742 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.3851, allocations: 26.62 kB / 0.7743 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008854/0.386, allocations: 0.9044 MB / 0.7751 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3861, allocations: 134 kB / 0.7753 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.3862, allocations: 138.6 kB / 0.7754 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009177/0.3871, allocations: 0.9281 MB / 0.7763 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3871, allocations: 1.312 kB / 0.7763 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3871, allocations: 0 / 0.7763 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3871, allocations: 4 kB / 0.7763 GB, free: 0.9688 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.001047/0.3882, allocations: 0.7094 MB / 0.777 GB, free: 476 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3882, allocations: 11.34 kB / 0.777 GB, free: 476 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/0.3887, allocations: 160 kB / 0.7772 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.3891, allocations: 302.5 kB / 0.7775 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3891, allocations: 21.38 kB / 0.7775 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.3892, allocations: 25.78 kB / 0.7775 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.3896, allocations: 403.7 kB / 0.7779 GB, free: 4 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3896, allocations: 0 / 0.7779 GB, free: 4 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.3897, allocations: 15.59 kB / 0.7779 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.3897, allocations: 12.41 kB / 0.7779 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.3901, allocations: 344.9 kB / 0.7782 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.3913, allocations: 1.227 MB / 0.7794 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.3916, allocations: 223.2 kB / 0.7796 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.3918, allocations: 130.5 kB / 0.7798 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.392, allocations: 75.28 kB / 0.7798 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.392, allocations: 43.47 kB / 0.7799 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.392, allocations: 1.156 kB / 0.7799 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0005752/0.3926, allocations: 375.1 kB / 0.7802 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.3926, allocations: 54.59 kB / 0.7803 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3928, allocations: 269.3 kB / 0.7806 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3928, allocations: 30.73 kB / 0.7806 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.3929, allocations: 216.2 kB / 0.7808 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.393, allocations: 69.39 kB / 0.7809 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.393, allocations: 50.11 kB / 0.7809 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.3931, allocations: 338.2 kB / 0.7812 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3932, allocations: 97.14 kB / 0.7813 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.3934, allocations: 233.4 kB / 0.7815 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.3937, allocations: 250.2 kB / 0.7818 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3937, allocations: 0.8438 kB / 0.7818 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003499/0.3941, allocations: 304.5 kB / 0.7821 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3941, allocations: 9.844 kB / 0.7821 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3941, allocations: 1.219 kB / 0.7821 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3941, allocations: 4.984 kB / 0.7821 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.3942, allocations: 43.44 kB / 0.7821 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3942, allocations: 7.188 kB / 0.7821 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.3943, allocations: 27.14 kB / 0.7822 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3944, allocations: 16.59 kB / 0.7822 GB, free: 13.4 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.0001286/0.3945, allocations: 156.4 kB / 0.7823 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.3945, allocations: 37.41 kB / 0.7824 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.3949, allocations: 296.8 kB / 0.7826 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3949, allocations: 2.875 kB / 0.7826 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3949, allocations: 0 / 0.7826 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3949, allocations: 1.531 kB / 0.7826 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008406/0.3957, allocations: 0.7856 MB / 0.7834 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3957, allocations: 3.375 kB / 0.7834 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3959, allocations: 43.31 kB / 0.7835 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3959, allocations: 3.562 kB / 0.7835 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.3959, allocations: 12.08 kB / 0.7835 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3959, allocations: 4.188 kB / 0.7835 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.3959, allocations: 18.5 kB / 0.7835 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.3962, allocations: 433.7 kB / 0.7839 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.3963, allocations: 53.78 kB / 0.784 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3963, allocations: 10.48 kB / 0.784 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3964, allocations: 9.297 kB / 0.784 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.3965, allocations: 27.11 kB / 0.784 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3965, allocations: 14.64 kB / 0.784 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001209/0.3966, allocations: 192.2 kB / 0.7842 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.3966, allocations: 0 / 0.7842 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002828/0.3969, allocations: 108.2 kB / 0.7843 GB, free: 12.12 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.0002126/0.3971, allocations: 155 kB / 0.7845 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.3974, allocations: 234.3 kB / 0.7847 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3975, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.3976, allocations: 126.4 kB / 0.7848 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.3981, allocations: 155.2 kB / 0.7849 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006773/0.3988, allocations: 0.6473 MB / 0.7856 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3989, allocations: 191.2 kB / 0.7858 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.399, allocations: 32.66 kB / 0.7858 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of SimCode: time 5.71e-07/0.399, allocations: 0 / 0.7858 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of Templates: time 0.005214/0.4042, allocations: 5.215 MB / 0.7909 GB, free: 10.69 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.939187980256975] Failed to read output from testmodel.py, exit status != 0: 0.40976023580878973 0.41699631200000004 0.028255289000000003 Calling exit ...