Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001226/0.001226, 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.001671/0.001671, allocations: 170.3 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.9309/0.9309, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7119/0.7119, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.336e-06/3.336e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/3.036e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.511/0.511, allocations: 172.5 MB / 0.7866 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.5263, allocations: 13.12 MB / 0.7994 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.5279, allocations: 52.5 kB / 0.7995 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.5297, allocations: 0.493 MB / 0.7999 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.5342, allocations: 1.989 MB / 0.8019 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.5365, allocations: 0.967 MB / 0.8028 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003067/0.5395, allocations: 2.627 MB / 0.8054 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.5408, allocations: 0.7918 MB / 0.8062 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004825/0.5456, allocations: 2.203 MB / 0.8083 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.547, allocations: 0.8589 MB / 0.8092 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.5472, allocations: 106.3 kB / 0.8093 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.5491, allocations: 0.9337 MB / 0.8102 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004467/0.5496, allocations: 0.5322 MB / 0.8107 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005402/0.5501, allocations: 456.2 kB / 0.8111 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.5528, allocations: 1.947 MB / 0.813 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5528, allocations: 0 / 0.813 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5528, allocations: 0 / 0.813 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.187e-05/0.5528, allocations: 2.844 kB / 0.813 GB, free: 7.254 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.001996/0.5548, allocations: 1.4 MB / 0.8144 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5549, allocations: 13.81 kB / 0.8144 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.555, allocations: 146 kB / 0.8145 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009386/0.5559, allocations: 263.2 kB / 0.8148 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.5571, allocations: 0.7355 MB / 0.8155 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.5572, allocations: 67.88 kB / 0.8156 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.5573, allocations: 99.52 kB / 0.8157 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.5585, allocations: 1.295 MB / 0.8169 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.5586, allocations: 2.719 kB / 0.8169 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.5586, allocations: 36.47 kB / 0.817 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.5587, allocations: 37.36 kB / 0.817 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.5597, allocations: 0.9034 MB / 0.8179 GB, free: 3.973 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.003895/0.5636, allocations: 4.126 MB / 0.8219 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.5643, allocations: 0.5084 MB / 0.8224 GB, free: 416 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.5646, allocations: 305.2 kB / 0.8227 GB, free: 260 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.5649, allocations: 79.64 kB / 0.8228 GB, free: 232 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.5649, allocations: 41.19 kB / 0.8228 GB, free: 184 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 3.998e-06/0.565, allocations: 0 / 0.8228 GB, free: 184 kB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.001461/0.5664, allocations: 0.8068 MB / 0.8236 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.5664, allocations: 54.75 kB / 0.8237 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007003/0.5671, allocations: 0.7608 MB / 0.8244 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.5672, allocations: 38.58 kB / 0.8244 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.5675, allocations: 0.5312 MB / 0.825 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.5676, allocations: 183.8 kB / 0.8251 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.5678, allocations: 138.5 kB / 0.8253 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5679, allocations: 341.6 kB / 0.8256 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.5682, allocations: 247.7 kB / 0.8258 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.5687, allocations: 0.8294 MB / 0.8266 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007643/0.5695, allocations: 0.7997 MB / 0.8274 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.5695, allocations: 3.25 kB / 0.8274 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009045/0.5704, allocations: 0.849 MB / 0.8283 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5704, allocations: 8 kB / 0.8283 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5705, allocations: 11.2 kB / 0.8283 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.5705, allocations: 16.03 kB / 0.8283 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.5708, allocations: 155.7 kB / 0.8284 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.5708, allocations: 19.92 kB / 0.8285 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.5713, allocations: 91.34 kB / 0.8285 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.5714, allocations: 32 kB / 0.8286 GB, free: 11.49 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.0004401/0.5718, allocations: 338.3 kB / 0.8289 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.5719, allocations: 91.44 kB / 0.829 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/0.5726, allocations: 0.626 MB / 0.8296 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5726, allocations: 8 kB / 0.8296 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5726, allocations: 0 / 0.8296 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004863/0.5731, allocations: 0.5187 MB / 0.8301 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.5751, allocations: 1.538 MB / 0.8316 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.5751, allocations: 4.219 kB / 0.8316 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.5754, allocations: 107.9 kB / 0.8317 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.5754, allocations: 7.984 kB / 0.8317 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.5754, allocations: 15.94 kB / 0.8317 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.5754, allocations: 4 kB / 0.8317 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5754, allocations: 4 kB / 0.8317 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009864/0.5764, allocations: 1.017 MB / 0.8327 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.5767, allocations: 147.4 kB / 0.8329 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.5767, allocations: 23.92 kB / 0.8329 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.577, allocations: 12 kB / 0.8329 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.577, allocations: 39.88 kB / 0.833 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.5771, allocations: 19.98 kB / 0.833 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004669/0.5775, allocations: 0.5146 MB / 0.8335 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5775, allocations: 0 / 0.8335 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007986/0.5783, allocations: 299.5 kB / 0.8338 GB, free: 6.047 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.001728/0.5801, allocations: 1.652 MB / 0.8354 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007711/0.5808, allocations: 0.5996 MB / 0.836 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5808, allocations: 0 / 0.836 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.5811, allocations: 261.2 kB / 0.8362 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.5823, allocations: 441.5 kB / 0.8366 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007732/0.59, allocations: 7.158 MB / 0.8436 GB, free: 11.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.5904, allocations: 0.5239 MB / 0.8441 GB, free: 11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006215/0.591, allocations: 267.1 kB / 0.8444 GB, free: 10.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/0.5914, allocations: 360.4 kB / 0.8447 GB, free: 10.38 MB / 0.698 GB Notification: Performance of SimCode: time 1.854e-06/0.5914, allocations: 4 kB / 0.8447 GB, free: 10.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04573/0.6371, allocations: 25.48 MB / 0.8696 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/8.074, allocations: 6.875 kB / 0.8696 GB, free: 1.512 MB / 0.7136 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.007079088129103] Failed to read output from testmodel.py, exit status != 0: 8.174123818986118 8.189012763 7.633836687 Calling exit ...