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.0007467/0.0007467, 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.0008299/0.0008299, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9561/0.9561, allocations: 230.6 MB / 256 MB, free: 9.602 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.8102/0.8102, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.0009356/0.0009356, allocations: 70.55 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5789/0.5799, allocations: 102 MB / 0.8178 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1816/0.7615, allocations: 172.7 MB / 0.9865 GB, free: 8.246 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01391/0.7754, allocations: 13.18 MB / 0.9993 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.7768, allocations: 51.56 kB / 0.9994 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.7783, allocations: 496.8 kB / 0.9999 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004969/0.7832, allocations: 1.945 MB / 1.002 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.7856, allocations: 0.9029 MB / 1.003 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003102/0.7887, allocations: 2.612 MB / 1.005 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.7898, allocations: 0.7874 MB / 1.006 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00438/0.7942, allocations: 1.891 MB / 1.008 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.796, allocations: 0.9365 MB / 1.009 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.7961, allocations: 104 kB / 1.009 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.7978, allocations: 0.9157 MB / 1.01 GB, free: 388 kB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/0.7983, allocations: 0.5142 MB / 1.01 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005931/0.7989, allocations: 0.5251 MB / 1.011 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.8013, allocations: 1.907 MB / 1.013 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.8013, allocations: 4 kB / 1.013 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.347e-06/0.8013, allocations: 0 / 1.013 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.095e-05/0.8014, allocations: 0 / 1.013 GB, free: 13.42 MB / 0.7917 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.001968/0.8033, allocations: 1.411 MB / 1.014 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.8034, allocations: 8.031 kB / 1.014 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.8035, allocations: 147.6 kB / 1.014 GB, free: 11.81 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009185/0.8044, allocations: 255 kB / 1.014 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.8055, allocations: 0.7331 MB / 1.015 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.8055, allocations: 74 kB / 1.015 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.8056, allocations: 88 kB / 1.015 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.807, allocations: 1.294 MB / 1.017 GB, free: 9.246 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.807, allocations: 11.88 kB / 1.017 GB, free: 9.234 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.927e-05/0.8071, allocations: 47.92 kB / 1.017 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/0.8071, allocations: 38 kB / 1.017 GB, free: 9.148 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.8081, allocations: 0.8898 MB / 1.017 GB, free: 8.258 MB / 0.7917 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.003785/0.8119, allocations: 4.145 MB / 1.022 GB, free: 3.98 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.8126, allocations: 0.5092 MB / 1.022 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/0.8131, allocations: 297 kB / 1.022 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.8134, allocations: 84.36 kB / 1.022 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.8134, allocations: 42.98 kB / 1.022 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=49): time 2.745e-06/0.8135, allocations: 0 / 1.022 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of matching and sorting (n=49): time 0.001065/0.8145, allocations: 0.803 MB / 1.023 GB, free: 2.227 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.8146, allocations: 55.84 kB / 1.023 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.8152, allocations: 0.7626 MB / 1.024 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.8153, allocations: 37.7 kB / 1.024 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.8156, allocations: 0.5194 MB / 1.025 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.8158, allocations: 190.5 kB / 1.025 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.8159, allocations: 134.6 kB / 1.025 GB, free: 500 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.8161, allocations: 341.9 kB / 1.025 GB, free: 152 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.8164, allocations: 245.9 kB / 1.025 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.8169, allocations: 0.8308 MB / 1.026 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007755/0.8177, allocations: 0.8034 MB / 1.027 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.8177, allocations: 4 kB / 1.027 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009908/0.8187, allocations: 0.8503 MB / 1.028 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.8188, allocations: 11.47 kB / 1.028 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.8188, allocations: 12 kB / 1.028 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.8188, allocations: 12 kB / 1.028 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.8191, allocations: 155.8 kB / 1.028 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/0.8191, allocations: 19.92 kB / 1.028 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.8196, allocations: 95.28 kB / 1.028 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.8196, allocations: 32 kB / 1.028 GB, free: 12.78 MB / 0.8073 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.0003393/0.82, allocations: 333.4 kB / 1.028 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.82, allocations: 91.44 kB / 1.029 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.8211, allocations: 0.6218 MB / 1.029 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.8211, allocations: 4 kB / 1.029 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.8211, allocations: 4 kB / 1.029 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005099/0.8216, allocations: 0.5249 MB / 1.03 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.8234, allocations: 1.537 MB / 1.031 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8234, allocations: 224 / 1.031 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.8237, allocations: 123.8 kB / 1.031 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.8237, allocations: 4 kB / 1.031 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.8237, allocations: 12 kB / 1.031 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.8237, allocations: 4 kB / 1.031 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8237, allocations: 4 kB / 1.031 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009326/0.8247, allocations: 1.019 MB / 1.032 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.8249, allocations: 155.3 kB / 1.032 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.825, allocations: 16 kB / 1.033 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.8252, allocations: 13.69 kB / 1.033 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.8253, allocations: 35.94 kB / 1.033 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.8253, allocations: 19.98 kB / 1.033 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004425/0.8258, allocations: 0.5146 MB / 1.033 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8258, allocations: 3.938 kB / 1.033 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006809/0.8264, allocations: 307.4 kB / 1.033 GB, free: 7.32 MB / 0.8073 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.001511/0.8279, allocations: 1.654 MB / 1.035 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006826/0.8286, allocations: 0.5874 MB / 1.036 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8286, allocations: 0 / 1.036 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.8291, allocations: 265.4 kB / 1.036 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.8303, allocations: 433.4 kB / 1.036 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007632/0.8379, allocations: 7.25 MB / 1.043 GB, free: 12.73 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.8383, allocations: 0.5238 MB / 1.044 GB, free: 12.17 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006811/0.839, allocations: 271.1 kB / 1.044 GB, free: 11.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.8394, allocations: 363.3 kB / 1.044 GB, free: 11.55 MB / 0.823 GB Notification: Performance of SimCode: time 3.086e-06/0.8394, allocations: 0 / 1.044 GB, free: 11.55 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04563/0.8851, allocations: 25.44 MB / 1.069 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/8.483, allocations: 23.8 kB / 1.069 GB, free: 2.594 MB / 0.8386 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: 11.58129937807098] Failed to read output from testmodel.py, exit status != 0: 8.572473333217204 8.584622328 7.781038252 Calling exit ...