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.0009364/0.0009364, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008848/0.0008848, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.9954/0.9954, allocations: 230.6 MB / 256 MB, free: 9.797 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.7765/0.7765, allocations: 203.8 MB / 0.5042 GB, free: 10.59 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.0009946/0.0009946, allocations: 67.06 kB / 0.7182 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.548, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1536/0.7017, allocations: 177.1 MB / 0.9908 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.7045, allocations: 1.857 MB / 0.9926 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.7048, allocations: 19.81 kB / 0.9927 GB, free: 2.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.7054, allocations: 226.5 kB / 0.9929 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.707, allocations: 0.7856 MB / 0.9936 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.7085, allocations: 0.9087 MB / 0.9945 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0008252/0.7093, allocations: 0.8612 MB / 0.9954 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.7097, allocations: 241.8 kB / 0.9956 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009891/0.7107, allocations: 0.5956 MB / 0.9962 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.7109, allocations: 278.9 kB / 0.9964 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.711, allocations: 28 kB / 0.9965 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.7123, allocations: 1.188 MB / 0.9976 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.7124, allocations: 135.5 kB / 0.9978 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.7126, allocations: 199.1 kB / 0.9979 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.7136, allocations: 0.9189 MB / 0.9988 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7136, allocations: 0 / 0.9988 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7136, allocations: 0 / 0.9988 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.7136, allocations: 0 / 0.9988 GB, free: 12.05 MB / 0.7761 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.001105/0.7147, allocations: 0.7185 MB / 0.9995 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.7147, allocations: 8.031 kB / 0.9996 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.7148, allocations: 70.52 kB / 0.9996 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005314/0.7153, allocations: 163.5 kB / 0.9998 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.7158, allocations: 303.6 kB / 1 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.7158, allocations: 24.66 kB / 1 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.7158, allocations: 24 kB / 1 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.7163, allocations: 391.5 kB / 1 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7163, allocations: 0 / 1 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.7163, allocations: 15.94 kB / 1.001 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.7163, allocations: 16.59 kB / 1.001 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.7168, allocations: 350.3 kB / 1.001 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.7181, allocations: 1.735 MB / 1.003 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.7184, allocations: 218.7 kB / 1.003 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.7187, allocations: 135.5 kB / 1.003 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/0.7189, allocations: 71.92 kB / 1.003 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.7189, allocations: 38.56 kB / 1.003 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.7189, allocations: 0 / 1.003 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0005838/0.7195, allocations: 394.5 kB / 1.003 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.7195, allocations: 51.41 kB / 1.003 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.7198, allocations: 357.7 kB / 1.004 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.7198, allocations: 33.64 kB / 1.004 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.7199, allocations: 196.3 kB / 1.004 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.72, allocations: 75.36 kB / 1.004 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.72, allocations: 45.69 kB / 1.004 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.7201, allocations: 350.8 kB / 1.004 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.7202, allocations: 91.92 kB / 1.005 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.7204, allocations: 161.8 kB / 1.005 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.7207, allocations: 250.8 kB / 1.005 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7207, allocations: 0 / 1.005 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003463/0.721, allocations: 310.9 kB / 1.005 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.721, allocations: 6.188 kB / 1.005 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.721, allocations: 0 / 1.005 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7211, allocations: 4 kB / 1.005 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.7212, allocations: 51.91 kB / 1.005 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.7212, allocations: 4.188 kB / 1.005 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.7213, allocations: 43.72 kB / 1.005 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.7214, allocations: 8.047 kB / 1.005 GB, free: 5.059 MB / 0.7761 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.0001252/0.7215, allocations: 165.7 kB / 1.005 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.7215, allocations: 35.8 kB / 1.006 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.7219, allocations: 300.8 kB / 1.006 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.7219, allocations: 4 kB / 1.006 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7219, allocations: 0 / 1.006 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7219, allocations: 11.92 kB / 1.006 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008414/0.7227, allocations: 0.8574 MB / 1.007 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.7228, allocations: 4 kB / 1.007 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.733e-05/0.7229, allocations: 43.91 kB / 1.007 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.7229, allocations: 4.344 kB / 1.007 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.7229, allocations: 15.98 kB / 1.007 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7229, allocations: 4 kB / 1.007 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7229, allocations: 7.938 kB / 1.007 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.7232, allocations: 445.8 kB / 1.007 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.7233, allocations: 55.72 kB / 1.007 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.7234, allocations: 19.94 kB / 1.007 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.7235, allocations: 11.98 kB / 1.007 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.7235, allocations: 23.91 kB / 1.007 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.7235, allocations: 8 kB / 1.007 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001846/0.7237, allocations: 259.2 kB / 1.008 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.7237, allocations: 0 / 1.008 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003138/0.724, allocations: 99.89 kB / 1.008 GB, free: 2.562 MB / 0.7761 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.0006926/0.7247, allocations: 1.031 MB / 1.009 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.7251, allocations: 237.9 kB / 1.009 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7251, allocations: 384 / 1.009 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.7252, allocations: 123.7 kB / 1.009 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/0.7259, allocations: 225.1 kB / 1.009 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.7288, allocations: 3.297 MB / 1.012 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.7291, allocations: 0.8036 MB / 1.013 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002403/0.7293, allocations: 91.22 kB / 1.013 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.7295, allocations: 111.4 kB / 1.013 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of SimCode: time 1.243e-06/0.7295, allocations: 0 / 1.013 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.7577, allocations: 11.07 MB / 1.024 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/8.102, allocations: 3.859 kB / 1.024 GB, free: 1.57 MB / 0.7917 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: 11.176811100915074] Failed to read output from testmodel.py, exit status != 0: 8.190588806057349 8.209654559 7.493896404 Calling exit ...