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.0007863/0.0007863, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 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.0009312/0.0009312, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.9685/0.9685, allocations: 230.6 MB / 256 MB, free: 9.648 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.7711/0.7711, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [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.001455/0.001455, allocations: 66.56 kB / 0.7182 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5178/0.5193, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1544/0.6737, allocations: 153.1 MB / 0.9673 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002723/0.6764, allocations: 1.76 MB / 0.969 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.6768, allocations: 23.81 kB / 0.969 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006459/0.6775, allocations: 222.5 kB / 0.9692 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.679, allocations: 0.7662 MB / 0.97 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.6806, allocations: 0.8758 MB / 0.9708 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009407/0.6815, allocations: 0.8495 MB / 0.9717 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.6819, allocations: 237.8 kB / 0.9719 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.6832, allocations: 0.5995 MB / 0.9725 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.6834, allocations: 262.9 kB / 0.9727 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.6835, allocations: 24 kB / 0.9727 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.6848, allocations: 0.8921 MB / 0.9736 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.6849, allocations: 131.5 kB / 0.9737 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.6851, allocations: 163.2 kB / 0.9739 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.6861, allocations: 0.8839 MB / 0.9748 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6861, allocations: 0 / 0.9748 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6861, allocations: 0 / 0.9748 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.6861, allocations: 0 / 0.9748 GB, free: 4.422 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.001178/0.6873, allocations: 0.7146 MB / 0.9755 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.6873, allocations: 12.02 kB / 0.9755 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.743e-05/0.6874, allocations: 62.55 kB / 0.9755 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006079/0.688, allocations: 163.5 kB / 0.9757 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.6885, allocations: 299.6 kB / 0.976 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.6886, allocations: 24.66 kB / 0.976 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.6886, allocations: 28 kB / 0.976 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.6891, allocations: 403.4 kB / 0.9764 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6891, allocations: 0 / 0.9764 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.6891, allocations: 16 kB / 0.9764 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.6892, allocations: 16.59 kB / 0.9764 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.6896, allocations: 338.3 kB / 0.9768 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.6909, allocations: 1.307 MB / 0.978 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.6913, allocations: 218.6 kB / 0.9782 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.6914, allocations: 134.9 kB / 0.9784 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000283/0.6917, allocations: 71.92 kB / 0.9784 GB, free: 500 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.6917, allocations: 42.55 kB / 0.9785 GB, free: 448 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.6917, allocations: 4 kB / 0.9785 GB, free: 444 kB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0006864/0.6924, allocations: 381.2 kB / 0.9788 GB, free: 56 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.6925, allocations: 51.41 kB / 0.9789 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.6929, allocations: 365.6 kB / 0.9792 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003883/0.6932, allocations: 25.7 kB / 0.9793 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.6934, allocations: 204.3 kB / 0.9795 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.6934, allocations: 75.36 kB / 0.9795 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.6935, allocations: 49.66 kB / 0.9796 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6936, allocations: 350.7 kB / 0.9799 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.6937, allocations: 91.92 kB / 0.98 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.6939, allocations: 230.9 kB / 0.9802 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.6942, allocations: 251.4 kB / 0.9805 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6942, allocations: 4 kB / 0.9805 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000393/0.6946, allocations: 309.9 kB / 0.9808 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6946, allocations: 8 kB / 0.9808 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6946, allocations: 4.188 kB / 0.9808 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.6946, allocations: 4 kB / 0.9808 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.6948, allocations: 47.91 kB / 0.9808 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.6948, allocations: 4 kB / 0.9808 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.6949, allocations: 35.77 kB / 0.9809 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.6949, allocations: 11.98 kB / 0.9809 GB, free: 13.86 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.0001321/0.6951, allocations: 161.7 kB / 0.981 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.6951, allocations: 35.77 kB / 0.9811 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.6955, allocations: 302.9 kB / 0.9814 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.6955, allocations: 0 / 0.9814 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6955, allocations: 4 kB / 0.9814 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6955, allocations: 0 / 0.9814 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.6964, allocations: 0.8418 MB / 0.9822 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6964, allocations: 0 / 0.9822 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.6965, allocations: 43.97 kB / 0.9822 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.6966, allocations: 4 kB / 0.9822 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.6966, allocations: 4 kB / 0.9822 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.6966, allocations: 11.92 kB / 0.9822 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6966, allocations: 4 kB / 0.9822 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.697, allocations: 456.8 kB / 0.9827 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.697, allocations: 59.67 kB / 0.9827 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.6971, allocations: 8 kB / 0.9827 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.6972, allocations: 15.98 kB / 0.9828 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.6972, allocations: 23.89 kB / 0.9828 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.6973, allocations: 15.98 kB / 0.9828 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001837/0.6974, allocations: 259.2 kB / 0.983 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.6974, allocations: 4 kB / 0.983 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003479/0.6978, allocations: 91.89 kB / 0.9831 GB, free: 11.4 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.0008068/0.6986, allocations: 1.034 MB / 0.9841 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.699, allocations: 231.6 kB / 0.9844 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.699, allocations: 0 / 0.9844 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.6991, allocations: 124.6 kB / 0.9845 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.6999, allocations: 221.6 kB / 0.9847 GB, free: 9.746 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.7031, allocations: 3.301 MB / 0.9879 GB, free: 6.266 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.7032, allocations: 189.8 kB / 0.9881 GB, free: 6.062 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002338/0.7034, allocations: 91.17 kB / 0.9882 GB, free: 5.969 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.7036, allocations: 119.4 kB / 0.9883 GB, free: 5.852 MB / 0.7605 GB Notification: Performance of SimCode: time 9.32e-07/0.7036, allocations: 0 / 0.9883 GB, free: 5.852 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.7281, allocations: 12.15 MB / 1 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/7.442, allocations: 10.97 kB / 1 GB, free: 10.01 MB / 0.7761 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.456351436208934] Failed to read output from testmodel.py, exit status != 0: 7.527312406338751 7.536001911 6.847675637 Calling exit ...