Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.001299/0.001299, allocations: 105.9 kB / 18.93 MB, free: 1.266 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.001206/0.001206, allocations: 214.3 kB / 22.26 MB, free: 3.848 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.9661/0.9661, allocations: 230.6 MB / 256 MB, free: 3.574 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.8085/0.8085, allocations: 203.8 MB / 0.5042 GB, free: 0.6953 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.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",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.001467/0.001467, allocations: 67.89 kB / 0.7183 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5274/0.5289, allocations: 102 MB / 0.8179 GB, free: 25.03 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1959/0.7248, allocations: 199.2 MB / 1.012 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.7406, allocations: 14.52 MB / 1.027 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.7422, allocations: 51.56 kB / 1.027 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.7439, allocations: 0.5085 MB / 1.027 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.7487, allocations: 1.999 MB / 1.029 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.751, allocations: 0.927 MB / 1.03 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003847/0.7549, allocations: 2.628 MB / 1.033 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.7561, allocations: 0.803 MB / 1.033 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004871/0.761, allocations: 1.906 MB / 1.035 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.7629, allocations: 0.9724 MB / 1.036 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.7631, allocations: 108 kB / 1.036 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.766, allocations: 1.169 MB / 1.037 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005368/0.7666, allocations: 0.5141 MB / 1.038 GB, free: 1.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0008118/0.7674, allocations: 0.6338 MB / 1.039 GB, free: 0.5938 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003107/0.7705, allocations: 1.915 MB / 1.04 GB, free: 14.67 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.7705, allocations: 0 / 1.04 GB, free: 14.67 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7705, allocations: 4 kB / 1.04 GB, free: 14.67 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.477e-05/0.7705, allocations: 0 / 1.04 GB, free: 14.67 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00222/0.7728, allocations: 1.411 MB / 1.042 GB, free: 13.22 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/0.7728, allocations: 13.47 kB / 1.042 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.773, allocations: 143.6 kB / 1.042 GB, free: 13.06 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.774, allocations: 263 kB / 1.042 GB, free: 12.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.7752, allocations: 0.7331 MB / 1.043 GB, free: 12.04 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.7752, allocations: 66 kB / 1.043 GB, free: 11.98 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.7753, allocations: 99.95 kB / 1.043 GB, free: 11.88 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.7767, allocations: 1.173 MB / 1.044 GB, free: 10.64 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.7767, allocations: 4 kB / 1.044 GB, free: 10.63 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.7768, allocations: 39.94 kB / 1.044 GB, free: 10.59 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.7769, allocations: 37.98 kB / 1.044 GB, free: 10.55 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.778, allocations: 0.8976 MB / 1.045 GB, free: 9.656 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/0.7831, allocations: 5.764 MB / 1.051 GB, free: 3.422 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/0.7837, allocations: 0.5082 MB / 1.051 GB, free: 2.902 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.784, allocations: 294.6 kB / 1.052 GB, free: 2.609 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.7843, allocations: 84.41 kB / 1.052 GB, free: 2.527 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.7844, allocations: 46.88 kB / 1.052 GB, free: 2.473 MB / 0.823 GB Notification: Performance of pre-optimization done (n=49): time 4.338e-06/0.7844, allocations: 4 kB / 1.052 GB, free: 2.469 MB / 0.823 GB Notification: Performance of matching and sorting (n=49): time 0.001148/0.7855, allocations: 0.8031 MB / 1.052 GB, free: 1.664 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.7856, allocations: 55.84 kB / 1.053 GB, free: 1.598 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.7863, allocations: 0.751 MB / 1.053 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.7863, allocations: 37.7 kB / 1.053 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.7866, allocations: 0.5155 MB / 1.054 GB, free: 280 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.7868, allocations: 186.4 kB / 1.054 GB, free: 92 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.7869, allocations: 146.5 kB / 1.054 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.787, allocations: 337.9 kB / 1.054 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.7873, allocations: 253.8 kB / 1.055 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.7878, allocations: 0.5546 MB / 1.055 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.7885, allocations: 0.7957 MB / 1.056 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.7885, allocations: 4 kB / 1.056 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009485/0.7894, allocations: 0.8505 MB / 1.057 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.7894, allocations: 8 kB / 1.057 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.7895, allocations: 8 kB / 1.057 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.7895, allocations: 12.75 kB / 1.057 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.7898, allocations: 155.7 kB / 1.057 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.7898, allocations: 19.94 kB / 1.057 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.7903, allocations: 91.33 kB / 1.057 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.7904, allocations: 35.98 kB / 1.057 GB, free: 12.57 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0004172/0.7908, allocations: 330.5 kB / 1.057 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.7912, allocations: 87.44 kB / 1.058 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007287/0.7919, allocations: 0.6257 MB / 1.058 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.7919, allocations: 8 kB / 1.058 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.7919, allocations: 0 / 1.058 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004824/0.7924, allocations: 0.5172 MB / 1.059 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.7942, allocations: 1.654 MB / 1.06 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.7942, allocations: 0 / 1.06 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.7945, allocations: 111.9 kB / 1.06 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.7945, allocations: 4 kB / 1.06 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.7945, allocations: 15.98 kB / 1.06 GB, free: 9.133 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.7945, allocations: 4 kB / 1.06 GB, free: 9.129 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.7945, allocations: 7.938 kB / 1.06 GB, free: 9.121 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009707/0.7955, allocations: 1.016 MB / 1.061 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.7957, allocations: 151.3 kB / 1.062 GB, free: 7.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/0.7958, allocations: 16 kB / 1.062 GB, free: 7.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.7961, allocations: 19.92 kB / 1.062 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.7961, allocations: 35.94 kB / 1.062 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.7961, allocations: 16 kB / 1.062 GB, free: 7.832 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004748/0.7966, allocations: 0.5146 MB / 1.062 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7966, allocations: 0 / 1.062 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007019/0.7973, allocations: 303.4 kB / 1.062 GB, free: 7.023 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.001471/0.7988, allocations: 1.661 MB / 1.064 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.7998, allocations: 0.5847 MB / 1.065 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7998, allocations: 128 / 1.065 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.8001, allocations: 267.8 kB / 1.065 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.8012, allocations: 438.6 kB / 1.065 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007624/0.8088, allocations: 7.258 MB / 1.072 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.8094, allocations: 1.122 MB / 1.073 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006636/0.81, allocations: 267.1 kB / 1.074 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.8105, allocations: 359.3 kB / 1.074 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of SimCode: time 1.704e-06/0.8105, allocations: 7.938 kB / 1.074 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04463/0.8551, allocations: 23.83 MB / 1.097 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.967, allocations: 9.422 kB / 1.097 GB, free: 3.203 MB / 0.8698 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.046355925966054] Failed to read output from testmodel.py, exit status != 0: 9.055828160140663 9.066706001 8.293272909 Calling exit ...