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.0009838/0.0009838, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001548/0.001548, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9398/0.9398, allocations: 177.1 MB / 202.8 MB, free: 5.543 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.7931/0.7931, allocations: 154.6 MB / 413.8 MB, free: 0.7344 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 1.422e-06/1.422e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.666e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.4405/0.4405, allocations: 172.5 MB / 0.7866 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.4567, allocations: 13.11 MB / 0.7994 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.4583, allocations: 50.91 kB / 0.7995 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.4598, allocations: 0.5032 MB / 0.7999 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004641/0.4645, allocations: 1.985 MB / 0.8019 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.467, allocations: 0.9639 MB / 0.8028 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003293/0.4703, allocations: 2.619 MB / 0.8054 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.4717, allocations: 0.8011 MB / 0.8062 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/0.4765, allocations: 2.194 MB / 0.8083 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.4784, allocations: 0.8712 MB / 0.8092 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002388/0.4787, allocations: 106.6 kB / 0.8093 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.4808, allocations: 0.9229 MB / 0.8102 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006097/0.4815, allocations: 0.5375 MB / 0.8107 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008038/0.4823, allocations: 464.3 kB / 0.8111 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003271/0.4855, allocations: 1.942 MB / 0.813 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4855, allocations: 0 / 0.813 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4855, allocations: 0 / 0.813 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.665e-05/0.4856, allocations: 0 / 0.813 GB, free: 7.277 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.002262/0.4879, allocations: 1.403 MB / 0.8144 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4879, allocations: 10.5 kB / 0.8144 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.488, allocations: 146.4 kB / 0.8145 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008937/0.4889, allocations: 262.8 kB / 0.8148 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.49, allocations: 0.7333 MB / 0.8155 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.49, allocations: 67 kB / 0.8156 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.4901, allocations: 100.2 kB / 0.8157 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.4915, allocations: 1.292 MB / 0.8169 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.4916, allocations: 6.125 kB / 0.8169 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/0.4916, allocations: 36.91 kB / 0.817 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.4917, allocations: 34 kB / 0.817 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.4929, allocations: 0.9062 MB / 0.8179 GB, free: 3.996 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.004263/0.4972, allocations: 4.122 MB / 0.8219 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.4978, allocations: 0.5131 MB / 0.8224 GB, free: 444 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.4981, allocations: 299.8 kB / 0.8227 GB, free: 288 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.4984, allocations: 83.22 kB / 0.8228 GB, free: 256 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4984, allocations: 37.84 kB / 0.8228 GB, free: 212 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 3.928e-06/0.4984, allocations: 0 / 0.8228 GB, free: 212 kB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.001172/0.4996, allocations: 0.8059 MB / 0.8236 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.4996, allocations: 65.03 kB / 0.8237 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/0.5003, allocations: 0.7653 MB / 0.8244 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.5004, allocations: 32.05 kB / 0.8244 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.5006, allocations: 0.5274 MB / 0.825 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.5008, allocations: 182.5 kB / 0.8251 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.5009, allocations: 139.7 kB / 0.8253 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.501, allocations: 337.8 kB / 0.8256 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.5013, allocations: 254.1 kB / 0.8258 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.5018, allocations: 0.8251 MB / 0.8266 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007673/0.5025, allocations: 0.7999 MB / 0.8274 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5026, allocations: 5.531 kB / 0.8274 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009895/0.5035, allocations: 0.852 MB / 0.8283 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.5036, allocations: 8 kB / 0.8283 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.5036, allocations: 11.2 kB / 0.8283 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.5036, allocations: 12 kB / 0.8283 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.5039, allocations: 155.7 kB / 0.8284 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.504, allocations: 15.94 kB / 0.8285 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.5044, allocations: 91.34 kB / 0.8285 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.5045, allocations: 35.98 kB / 0.8286 GB, free: 11.53 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.0003866/0.5049, allocations: 342.3 kB / 0.8289 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/0.5049, allocations: 95.42 kB / 0.829 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.5056, allocations: 0.6156 MB / 0.8296 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5056, allocations: 8 kB / 0.8296 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5056, allocations: 0 / 0.8296 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005925/0.5062, allocations: 0.5187 MB / 0.8301 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.5078, allocations: 1.538 MB / 0.8316 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5078, allocations: 0 / 0.8316 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.5081, allocations: 107.9 kB / 0.8317 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.5081, allocations: 11.75 kB / 0.8317 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.5082, allocations: 15.94 kB / 0.8317 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.5082, allocations: 4 kB / 0.8317 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5082, allocations: 7.984 kB / 0.8317 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.509, allocations: 1.025 MB / 0.8328 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.5093, allocations: 143.3 kB / 0.8329 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.5093, allocations: 19.94 kB / 0.8329 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.5096, allocations: 11.98 kB / 0.8329 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.5096, allocations: 36.59 kB / 0.833 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.5096, allocations: 16 kB / 0.833 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007024/0.5103, allocations: 0.5146 MB / 0.8335 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5103, allocations: 0 / 0.8335 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007243/0.5111, allocations: 303.4 kB / 0.8338 GB, free: 6.09 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.001522/0.5126, allocations: 1.67 MB / 0.8354 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007546/0.5133, allocations: 0.5968 MB / 0.836 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5133, allocations: 0 / 0.836 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.5136, allocations: 260.1 kB / 0.8362 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.5149, allocations: 440.7 kB / 0.8366 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008104/0.523, allocations: 7.151 MB / 0.8436 GB, free: 11.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.5234, allocations: 0.5278 MB / 0.8441 GB, free: 11.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006994/0.5241, allocations: 263.1 kB / 0.8444 GB, free: 10.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.5244, allocations: 360.4 kB / 0.8447 GB, free: 10.42 MB / 0.698 GB Notification: Performance of SimCode: time 1.893e-06/0.5244, allocations: 0 / 0.8447 GB, free: 10.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04327/0.5677, allocations: 25.48 MB / 0.8696 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.309, allocations: 4.062 kB / 0.8696 GB, free: 1.543 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 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.172347988002002] Failed to read output from testmodel.py, exit status != 0: 8.401229339651763 8.409696362 7.922269814 Calling exit ...