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.001072/0.001072, allocations: 101.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.001379/0.001379, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9916/0.9916, allocations: 230.6 MB / 256 MB, free: 9.605 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.8042/0.8042, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.0009064/0.0009064, allocations: 66.5 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5144, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1411/0.6555, allocations: 153.1 MB / 0.9673 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.6575, allocations: 1.768 MB / 0.969 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.6577, allocations: 15.88 kB / 0.969 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.6582, allocations: 218.5 kB / 0.9692 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.6595, allocations: 0.7701 MB / 0.97 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.6606, allocations: 0.8632 MB / 0.9708 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006296/0.6612, allocations: 0.8612 MB / 0.9717 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.6615, allocations: 229.8 kB / 0.9719 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006609/0.6621, allocations: 0.5956 MB / 0.9725 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.6623, allocations: 262.8 kB / 0.9727 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.6624, allocations: 28 kB / 0.9727 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008073/0.6632, allocations: 0.892 MB / 0.9736 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.6633, allocations: 127.6 kB / 0.9737 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.6634, allocations: 175.2 kB / 0.9739 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008236/0.6642, allocations: 0.8722 MB / 0.9747 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6642, allocations: 0 / 0.9747 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6642, allocations: 4 kB / 0.9748 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.6643, allocations: 0 / 0.9748 GB, free: 4.402 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.001095/0.6653, allocations: 0.7107 MB / 0.9754 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6654, allocations: 8.031 kB / 0.9755 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/0.6654, allocations: 62.53 kB / 0.9755 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005637/0.666, allocations: 163.5 kB / 0.9757 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.6664, allocations: 307.6 kB / 0.976 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.6665, allocations: 24.66 kB / 0.976 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.6665, allocations: 28 kB / 0.976 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.6669, allocations: 395.4 kB / 0.9764 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.667, allocations: 4 kB / 0.9764 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.667, allocations: 11.98 kB / 0.9764 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.667, allocations: 24.58 kB / 0.9764 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/0.6677, allocations: 346.3 kB / 0.9768 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.6689, allocations: 1.296 MB / 0.978 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.6692, allocations: 226.6 kB / 0.9782 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.6693, allocations: 132.8 kB / 0.9784 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.6695, allocations: 75.92 kB / 0.9784 GB, free: 472 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.6696, allocations: 34.56 kB / 0.9785 GB, free: 428 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.704e-06/0.6696, allocations: 0 / 0.9785 GB, free: 428 kB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0005545/0.6701, allocations: 390.6 kB / 0.9788 GB, free: 32 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.6701, allocations: 59.34 kB / 0.9789 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.6704, allocations: 361.6 kB / 0.9792 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.6704, allocations: 29.7 kB / 0.9793 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.6705, allocations: 192.4 kB / 0.9795 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.6706, allocations: 67.38 kB / 0.9795 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.6706, allocations: 53.64 kB / 0.9796 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.6707, allocations: 346.8 kB / 0.9799 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.6708, allocations: 95.92 kB / 0.98 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.671, allocations: 238.9 kB / 0.9802 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.6713, allocations: 251.5 kB / 0.9805 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6713, allocations: 4 kB / 0.9805 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000324/0.6716, allocations: 306.2 kB / 0.9808 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.6716, allocations: 8 kB / 0.9808 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6716, allocations: 0 / 0.9808 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6716, allocations: 4 kB / 0.9808 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.6718, allocations: 47.91 kB / 0.9808 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.6718, allocations: 8.188 kB / 0.9808 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.6719, allocations: 35.77 kB / 0.9809 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.6719, allocations: 8 kB / 0.9809 GB, free: 13.84 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.0001074/0.672, allocations: 165.7 kB / 0.981 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.6721, allocations: 35.77 kB / 0.9811 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.6724, allocations: 294.9 kB / 0.9813 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6724, allocations: 0 / 0.9813 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6724, allocations: 4 kB / 0.9813 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.6724, allocations: 3.984 kB / 0.9813 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007855/0.6732, allocations: 0.8382 MB / 0.9822 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6732, allocations: 8.031 kB / 0.9822 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.917e-05/0.6733, allocations: 51.91 kB / 0.9822 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6733, allocations: 7.984 kB / 0.9822 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.6733, allocations: 7.984 kB / 0.9822 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6733, allocations: 4 kB / 0.9822 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6733, allocations: 4 kB / 0.9822 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.6737, allocations: 452.5 kB / 0.9827 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.6738, allocations: 63.67 kB / 0.9827 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.6738, allocations: 8 kB / 0.9827 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.6739, allocations: 15.98 kB / 0.9828 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.674, allocations: 23.84 kB / 0.9828 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.674, allocations: 12 kB / 0.9828 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001859/0.6742, allocations: 251.2 kB / 0.983 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.6742, allocations: 0 / 0.983 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002987/0.6745, allocations: 103.9 kB / 0.9831 GB, free: 11.38 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.001131/0.6756, allocations: 1.034 MB / 0.9841 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.676, allocations: 235.6 kB / 0.9844 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.676, allocations: 0 / 0.9844 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.6761, allocations: 119.8 kB / 0.9845 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.6768, allocations: 223.3 kB / 0.9847 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.6796, allocations: 3.3 MB / 0.9879 GB, free: 6.246 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.6797, allocations: 197.8 kB / 0.9881 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.6799, allocations: 83.23 kB / 0.9882 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.68, allocations: 115.4 kB / 0.9883 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of SimCode: time 4.2e-07/0.68, allocations: 0 / 0.9883 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.7023, allocations: 12.15 MB / 1 GB, free: 10 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/7.523, allocations: 9.469 kB / 1 GB, free: 10 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.552217823918909] Failed to read output from testmodel.py, exit status != 0: 7.608078422024846 7.61697607 6.950878336 Calling exit ...