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.0008593/0.0008593, 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.0008724/0.0008724, allocations: 165.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.8935/0.8935, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7402/0.7402, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.853e-06/1.853e-06, allocations: 0 / 0.6181 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.877e-05, allocations: 6.328 kB / 0.6181 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.451/0.4511, allocations: 172.5 MB / 0.7865 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01322/0.4643, allocations: 13.12 MB / 0.7993 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009755/0.4653, allocations: 52.34 kB / 0.7994 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.4666, allocations: 0.4931 MB / 0.7999 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.4698, allocations: 1.993 MB / 0.8018 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.4714, allocations: 0.9545 MB / 0.8028 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.001684/0.4731, allocations: 2.633 MB / 0.8053 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007056/0.4738, allocations: 0.7898 MB / 0.8061 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.4768, allocations: 2.203 MB / 0.8082 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007983/0.4776, allocations: 0.864 MB / 0.8091 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.4777, allocations: 110.5 kB / 0.8092 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.4789, allocations: 0.9231 MB / 0.8101 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007149/0.4796, allocations: 0.5348 MB / 0.8106 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.48, allocations: 460.2 kB / 0.8111 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.4817, allocations: 1.944 MB / 0.813 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4817, allocations: 0 / 0.813 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4817, allocations: 0 / 0.813 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.4817, allocations: 3.281 kB / 0.813 GB, free: 7.348 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.001455/0.4832, allocations: 1.407 MB / 0.8143 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4832, allocations: 9.688 kB / 0.8143 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.4833, allocations: 141.6 kB / 0.8145 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007335/0.484, allocations: 263.6 kB / 0.8147 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/0.485, allocations: 0.7401 MB / 0.8155 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.485, allocations: 67.62 kB / 0.8155 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.206e-05/0.4851, allocations: 96.08 kB / 0.8156 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.4862, allocations: 1.302 MB / 0.8169 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.4862, allocations: 0 / 0.8169 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.4863, allocations: 38.56 kB / 0.8169 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.4863, allocations: 33.75 kB / 0.8169 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.4873, allocations: 0.9078 MB / 0.8178 GB, free: 4.051 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.002959/0.4903, allocations: 4.126 MB / 0.8219 GB, free: 0.7539 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000577/0.4908, allocations: 0.5065 MB / 0.8224 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.4914, allocations: 298.5 kB / 0.8226 GB, free: 352 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.4916, allocations: 83.09 kB / 0.8227 GB, free: 320 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.4916, allocations: 42 kB / 0.8228 GB, free: 272 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 1.753e-06/0.4916, allocations: 3.938 kB / 0.8228 GB, free: 268 kB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.0009216/0.4926, allocations: 0.8014 MB / 0.8235 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.4926, allocations: 57.59 kB / 0.8236 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.4932, allocations: 0.769 MB / 0.8244 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.4932, allocations: 38.92 kB / 0.8244 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.4934, allocations: 0.5206 MB / 0.8249 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.66e-05/0.4935, allocations: 182.2 kB / 0.8251 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.4937, allocations: 139.9 kB / 0.8252 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.4937, allocations: 338 kB / 0.8255 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.494, allocations: 245.2 kB / 0.8258 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.4944, allocations: 0.8373 MB / 0.8266 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006356/0.4951, allocations: 0.7969 MB / 0.8274 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4951, allocations: 2.219 kB / 0.8274 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007782/0.4959, allocations: 0.8482 MB / 0.8282 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4959, allocations: 12.03 kB / 0.8282 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4959, allocations: 8 kB / 0.8282 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4959, allocations: 12 kB / 0.8282 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.4962, allocations: 158.6 kB / 0.8284 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.4962, allocations: 15.94 kB / 0.8284 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.4965, allocations: 95.33 kB / 0.8285 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.4966, allocations: 35.98 kB / 0.8285 GB, free: 11.57 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.0002712/0.4968, allocations: 344.1 kB / 0.8288 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/0.4969, allocations: 87.44 kB / 0.8289 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.4975, allocations: 0.6233 MB / 0.8295 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4975, allocations: 8 kB / 0.8295 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4975, allocations: 0 / 0.8295 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004476/0.498, allocations: 0.5148 MB / 0.83 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.4996, allocations: 1.545 MB / 0.8316 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4996, allocations: 4 kB / 0.8316 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.4999, allocations: 111.5 kB / 0.8317 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4999, allocations: 4 kB / 0.8317 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.4999, allocations: 19.94 kB / 0.8317 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4999, allocations: 4 kB / 0.8317 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4999, allocations: 7.922 kB / 0.8317 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/0.5008, allocations: 1.01 MB / 0.8327 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.501, allocations: 159.3 kB / 0.8328 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.501, allocations: 11.94 kB / 0.8328 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.5012, allocations: 19.98 kB / 0.8329 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.5013, allocations: 35.88 kB / 0.8329 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.5013, allocations: 16.14 kB / 0.8329 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003901/0.5017, allocations: 0.5107 MB / 0.8334 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/0.5017, allocations: 0 / 0.8334 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004939/0.5022, allocations: 303.4 kB / 0.8337 GB, free: 6.129 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.001249/0.5034, allocations: 1.659 MB / 0.8353 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005738/0.504, allocations: 0.5972 MB / 0.8359 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.504, allocations: 0 / 0.8359 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.5042, allocations: 264.3 kB / 0.8362 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.5055, allocations: 439.7 kB / 0.8366 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006344/0.5118, allocations: 7.155 MB / 0.8436 GB, free: 11.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.5121, allocations: 0.5277 MB / 0.8441 GB, free: 11.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004039/0.5125, allocations: 263.1 kB / 0.8443 GB, free: 10.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.5128, allocations: 364.4 kB / 0.8447 GB, free: 10.45 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/0.5128, allocations: 0 / 0.8447 GB, free: 10.45 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.5476, allocations: 25.47 MB / 0.8696 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.194, allocations: 6.125 kB / 0.8696 GB, free: 1.598 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 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.94667770061642] Failed to read output from testmodel.py, exit status != 0: 8.289084924384952 8.301300711 7.81724516 Calling exit ...