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.0008497/0.0008497, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000992/0.000992, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9469/0.9469, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7524/0.7524, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.494e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.4924/0.4925, allocations: 172.5 MB / 0.7865 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01353/0.506, allocations: 13.11 MB / 0.7993 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.5071, allocations: 53.09 kB / 0.7994 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.5084, allocations: 0.4951 MB / 0.7999 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.5119, allocations: 1.988 MB / 0.8018 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.5136, allocations: 0.9603 MB / 0.8028 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.5155, allocations: 2.626 MB / 0.8053 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000723/0.5162, allocations: 0.7962 MB / 0.8061 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.5193, allocations: 2.202 MB / 0.8082 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008401/0.5201, allocations: 0.8585 MB / 0.8091 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.5202, allocations: 106.9 kB / 0.8092 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.5218, allocations: 0.9381 MB / 0.8101 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.5222, allocations: 0.5269 MB / 0.8106 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003434/0.5225, allocations: 464 kB / 0.8111 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.5241, allocations: 1.948 MB / 0.813 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.5242, allocations: 0 / 0.813 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5242, allocations: 3.281 kB / 0.813 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.5242, allocations: 0 / 0.813 GB, free: 7.215 MB / 0.6667 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.001535/0.5257, allocations: 1.393 MB / 0.8143 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.5258, allocations: 15.78 kB / 0.8143 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.5259, allocations: 142 kB / 0.8145 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/0.5267, allocations: 267.2 kB / 0.8147 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.5277, allocations: 0.7299 MB / 0.8154 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.5278, allocations: 69.66 kB / 0.8155 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.5279, allocations: 97.7 kB / 0.8156 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.5292, allocations: 1.298 MB / 0.8169 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.5292, allocations: 2.656 kB / 0.8169 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/0.5293, allocations: 35.97 kB / 0.8169 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.5293, allocations: 38.3 kB / 0.8169 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.5303, allocations: 0.9067 MB / 0.8178 GB, free: 3.934 MB / 0.6667 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.003772/0.5341, allocations: 4.124 MB / 0.8219 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/0.5347, allocations: 0.5099 MB / 0.8224 GB, free: 380 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.535, allocations: 291.6 kB / 0.8226 GB, free: 232 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.5353, allocations: 83.53 kB / 0.8227 GB, free: 200 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.5354, allocations: 43.92 kB / 0.8228 GB, free: 152 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/0.5354, allocations: 0 / 0.8228 GB, free: 152 kB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.0009961/0.5364, allocations: 0.8079 MB / 0.8235 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.5364, allocations: 56.94 kB / 0.8236 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/0.5371, allocations: 0.7647 MB / 0.8243 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.5371, allocations: 40.89 kB / 0.8244 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.5374, allocations: 0.523 MB / 0.8249 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.5375, allocations: 182.4 kB / 0.8251 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.5376, allocations: 143.9 kB / 0.8252 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002573/0.5379, allocations: 334 kB / 0.8255 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.5382, allocations: 257.5 kB / 0.8258 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.5387, allocations: 0.8262 MB / 0.8266 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007214/0.5394, allocations: 0.8048 MB / 0.8274 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.5394, allocations: 0 / 0.8274 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008209/0.5402, allocations: 0.8505 MB / 0.8282 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.5403, allocations: 8 kB / 0.8282 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5403, allocations: 12.09 kB / 0.8282 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.5403, allocations: 14.81 kB / 0.8282 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.5406, allocations: 151.8 kB / 0.8284 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.5406, allocations: 19.92 kB / 0.8284 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.5409, allocations: 91.34 kB / 0.8285 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.541, allocations: 36 kB / 0.8285 GB, free: 11.5 MB / 0.6823 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.0002811/0.5413, allocations: 334.3 kB / 0.8288 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.5414, allocations: 95.44 kB / 0.8289 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000954/0.5423, allocations: 0.6194 MB / 0.8295 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5423, allocations: 4 kB / 0.8295 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5423, allocations: 4 kB / 0.8295 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004639/0.5428, allocations: 0.5148 MB / 0.83 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.5442, allocations: 1.542 MB / 0.8315 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5443, allocations: 7.922 kB / 0.8316 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.5445, allocations: 111.5 kB / 0.8317 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5445, allocations: 4 kB / 0.8317 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.5446, allocations: 15.92 kB / 0.8317 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5446, allocations: 4 kB / 0.8317 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5446, allocations: 4 kB / 0.8317 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008817/0.5454, allocations: 1.021 MB / 0.8327 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.5456, allocations: 143.4 kB / 0.8328 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.5457, allocations: 23.97 kB / 0.8328 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.5459, allocations: 15.92 kB / 0.8329 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.5459, allocations: 43.88 kB / 0.8329 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.546, allocations: 12 kB / 0.8329 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004103/0.5464, allocations: 0.5185 MB / 0.8334 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6e-08/0.5464, allocations: 0 / 0.8334 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005408/0.5469, allocations: 299.5 kB / 0.8337 GB, free: 6.051 MB / 0.6823 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.001341/0.5483, allocations: 1.665 MB / 0.8353 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005987/0.5489, allocations: 0.5917 MB / 0.8359 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5489, allocations: 0 / 0.8359 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.5491, allocations: 265.6 kB / 0.8362 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.5505, allocations: 445.1 kB / 0.8366 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/0.5568, allocations: 7.148 MB / 0.8436 GB, free: 11.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.5572, allocations: 0.5278 MB / 0.8441 GB, free: 11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004708/0.5576, allocations: 263.1 kB / 0.8443 GB, free: 10.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.5579, allocations: 368.4 kB / 0.8447 GB, free: 10.38 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/0.5579, allocations: 3.938 kB / 0.8447 GB, free: 10.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03926/0.5972, allocations: 25.47 MB / 0.8696 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.295/7.892, allocations: 4.062 kB / 0.8696 GB, free: 1.516 MB / 0.7136 GB " [Timeout remaining time 652] (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: 10.818296387791634] Failed to read output from testmodel.py, exit status != 0: 7.987902317196131 7.994810418 7.4687966470000005 Calling exit ...