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.001205/0.001205, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.001828/0.001828, allocations: 212.6 kB / 23 MB, free: 2.98 MB / 13.93 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.9286/0.9286, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7259/0.7259, allocations: 203.8 MB / 0.5049 GB, free: 10.39 MB / 410.7 MB " [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: IDEAS 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.0009497/0.0009497, allocations: 66.7 kB / 0.7194 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4321, allocations: 102 MB / 0.819 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1254/0.5574, allocations: 153.1 MB / 0.9685 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.5593, allocations: 1.761 MB / 0.9702 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.5594, allocations: 15.88 kB / 0.9702 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.5599, allocations: 222.5 kB / 0.9704 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009724/0.5609, allocations: 0.7662 MB / 0.9712 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.5621, allocations: 0.8691 MB / 0.972 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005687/0.5626, allocations: 0.8651 MB / 0.9729 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.5629, allocations: 230.4 kB / 0.9731 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005996/0.5635, allocations: 0.5956 MB / 0.9737 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.5637, allocations: 270.8 kB / 0.9739 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.5637, allocations: 28 kB / 0.974 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000716/0.5644, allocations: 0.8882 MB / 0.9748 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.5645, allocations: 123.6 kB / 0.975 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.5647, allocations: 171.2 kB / 0.9751 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006985/0.5654, allocations: 0.88 MB / 0.976 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5654, allocations: 0 / 0.976 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5654, allocations: 0 / 0.976 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.5654, allocations: 4 kB / 0.976 GB, free: 4.281 MB / 0.7448 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.001019/0.5664, allocations: 0.7146 MB / 0.9767 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.5664, allocations: 8.031 kB / 0.9767 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005133/0.5669, allocations: 159.5 kB / 0.9768 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.5673, allocations: 307.6 kB / 0.9771 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.5673, allocations: 20.66 kB / 0.9772 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.5674, allocations: 28 kB / 0.9772 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.5678, allocations: 395.5 kB / 0.9776 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5678, allocations: 3.938 kB / 0.9776 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.5678, allocations: 12 kB / 0.9776 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.5678, allocations: 16.59 kB / 0.9776 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.5682, allocations: 346.3 kB / 0.9779 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.5695, allocations: 1.218 MB / 0.9791 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.5698, allocations: 230.6 kB / 0.9793 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.57, allocations: 128.8 kB / 0.9795 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.5702, allocations: 75.92 kB / 0.9795 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.5702, allocations: 34.56 kB / 0.9796 GB, free: 480 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.5702, allocations: 0 / 0.9796 GB, free: 480 kB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0005416/0.5708, allocations: 378.8 kB / 0.9799 GB, free: 96 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.5708, allocations: 67.28 kB / 0.98 GB, free: 16 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.571, allocations: 268.3 kB / 0.9802 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.571, allocations: 33.7 kB / 0.9803 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.5711, allocations: 204.5 kB / 0.9805 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.5711, allocations: 75.28 kB / 0.9805 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.5712, allocations: 49.66 kB / 0.9806 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.5712, allocations: 334.8 kB / 0.9809 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.5714, allocations: 91.92 kB / 0.981 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.5715, allocations: 238.9 kB / 0.9812 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.5718, allocations: 255.5 kB / 0.9815 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.5718, allocations: 3.938 kB / 0.9815 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003181/0.5721, allocations: 302.4 kB / 0.9818 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.5721, allocations: 8 kB / 0.9818 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5721, allocations: 0 / 0.9818 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5721, allocations: 4.047 kB / 0.9818 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.5723, allocations: 51.89 kB / 0.9818 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5723, allocations: 4 kB / 0.9818 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.579e-05/0.5724, allocations: 24.06 kB / 0.9818 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.5724, allocations: 12 kB / 0.9819 GB, free: 14 MB / 0.7605 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.0001027/0.5725, allocations: 165.7 kB / 0.982 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.5725, allocations: 31.81 kB / 0.982 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.5729, allocations: 288.6 kB / 0.9823 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5729, allocations: 4 kB / 0.9823 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5729, allocations: 0 / 0.9823 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5729, allocations: 0 / 0.9823 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.5736, allocations: 0.7995 MB / 0.9831 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5736, allocations: 4 kB / 0.9831 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.364e-05/0.5737, allocations: 40.25 kB / 0.9831 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.5737, allocations: 11.94 kB / 0.9832 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.5737, allocations: 12 kB / 0.9832 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5737, allocations: 7.984 kB / 0.9832 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5737, allocations: 0 / 0.9832 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.574, allocations: 441.5 kB / 0.9836 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.5741, allocations: 51.73 kB / 0.9836 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.5741, allocations: 15.92 kB / 0.9837 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5742, allocations: 16 kB / 0.9837 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.5742, allocations: 19.91 kB / 0.9837 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.5743, allocations: 12 kB / 0.9837 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001116/0.5744, allocations: 191.1 kB / 0.9839 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.5744, allocations: 0 / 0.9839 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002572/0.5746, allocations: 111.7 kB / 0.984 GB, free: 11.66 MB / 0.7605 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.0001682/0.5748, allocations: 159.1 kB / 0.9842 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.5751, allocations: 225.9 kB / 0.9844 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5751, allocations: 4 kB / 0.9844 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.5752, allocations: 124.9 kB / 0.9845 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.5757, allocations: 151.4 kB / 0.9846 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.5763, allocations: 0.6584 MB / 0.9853 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.5764, allocations: 197.1 kB / 0.9855 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.5765, allocations: 31.42 kB / 0.9855 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of SimCode: time 2.8e-07/0.5765, allocations: 0 / 0.9855 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of Templates: time 0.004714/0.5812, allocations: 5.209 MB / 0.9906 GB, free: 4.879 MB / 0.7605 GB " [Timeout remaining time 659] 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: 6.021002219058573] Failed to read output from testmodel.py, exit status != 0: 0.5861272127367556 0.593915915 0.026921803 Calling exit ...