Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002151/0.00215, allocations: 108.1 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002367/0.002367, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.1 MB / 0.7171 GB, free: 4.066 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.89 kB / 1.027 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8242/0.8262, allocations: 151.6 MB / 1.175 GB, free: 17.4 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2679/1.094, allocations: 195.1 MB / 1.365 GB, free: 5.227 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0226/1.117, allocations: 14.33 MB / 1.379 GB, free: 6.859 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/1.119, allocations: 35.81 kB / 1.379 GB, free: 6.824 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/1.121, allocations: 0.5007 MB / 1.38 GB, free: 6.32 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005491/1.126, allocations: 1.891 MB / 1.382 GB, free: 4.422 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/1.129, allocations: 0.8669 MB / 1.382 GB, free: 3.559 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004121/1.133, allocations: 2.569 MB / 1.385 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/1.135, allocations: 1.107 MB / 1.386 GB, free: 15.85 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005313/1.14, allocations: 1.606 MB / 1.388 GB, free: 14.25 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/1.143, allocations: 0.9198 MB / 1.389 GB, free: 13.34 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002876/1.143, allocations: 108 kB / 1.389 GB, free: 13.23 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/1.146, allocations: 1.095 MB / 1.39 GB, free: 12.13 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00064/1.146, allocations: 0.4987 MB / 1.39 GB, free: 11.63 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009963/1.147, allocations: 0.6338 MB / 1.391 GB, free: 11 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003493/1.151, allocations: 1.923 MB / 1.393 GB, free: 9.066 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/1.151, allocations: 4 kB / 1.393 GB, free: 9.062 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.563e-06/1.151, allocations: 0 / 1.393 GB, free: 9.062 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.372e-05/1.151, allocations: 0 / 1.393 GB, free: 9.062 MB / 1.107 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.002794/1.154, allocations: 1.475 MB / 1.394 GB, free: 7.535 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.154, allocations: 12.62 kB / 1.394 GB, free: 7.523 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000218/1.154, allocations: 147.6 kB / 1.394 GB, free: 7.371 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/1.155, allocations: 266.8 kB / 1.395 GB, free: 7.109 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/1.157, allocations: 0.7967 MB / 1.395 GB, free: 6.266 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/1.157, allocations: 70 kB / 1.395 GB, free: 6.199 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/1.157, allocations: 96 kB / 1.395 GB, free: 6.105 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/1.159, allocations: 1.169 MB / 1.397 GB, free: 4.863 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/1.159, allocations: 3.938 kB / 1.397 GB, free: 4.859 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/1.159, allocations: 43.94 kB / 1.397 GB, free: 4.816 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/1.16, allocations: 33.98 kB / 1.397 GB, free: 4.785 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/1.161, allocations: 0.8976 MB / 1.398 GB, free: 3.883 MB / 1.107 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.0072/1.168, allocations: 5.763 MB / 1.403 GB, free: 13.66 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/1.169, allocations: 0.5315 MB / 1.404 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/1.17, allocations: 326.6 kB / 1.404 GB, free: 12.8 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/1.17, allocations: 315.7 kB / 1.404 GB, free: 12.44 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/1.17, allocations: 35 kB / 1.404 GB, free: 12.4 MB / 1.123 GB Notification: Performance of pre-optimization done (n=49): time 2.214e-06/1.17, allocations: 0 / 1.404 GB, free: 12.4 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.001641/1.172, allocations: 0.8031 MB / 1.405 GB, free: 11.59 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/1.172, allocations: 59.78 kB / 1.405 GB, free: 11.52 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.173, allocations: 0.751 MB / 1.406 GB, free: 10.76 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/1.173, allocations: 41.7 kB / 1.406 GB, free: 10.71 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/1.174, allocations: 0.5194 MB / 1.406 GB, free: 10.19 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/1.174, allocations: 186.4 kB / 1.407 GB, free: 10 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/1.174, allocations: 142.6 kB / 1.407 GB, free: 9.859 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.174, allocations: 337.9 kB / 1.407 GB, free: 9.523 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/1.175, allocations: 245.9 kB / 1.407 GB, free: 9.285 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/1.176, allocations: 0.5585 MB / 1.408 GB, free: 8.594 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.177, allocations: 0.7995 MB / 1.409 GB, free: 7.684 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/1.177, allocations: 4 kB / 1.409 GB, free: 7.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001471/1.178, allocations: 0.8433 MB / 1.409 GB, free: 6.828 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/1.178, allocations: 12 kB / 1.409 GB, free: 6.816 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/1.178, allocations: 8.094 kB / 1.41 GB, free: 6.809 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/1.178, allocations: 16 kB / 1.41 GB, free: 6.793 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/1.179, allocations: 151.8 kB / 1.41 GB, free: 6.645 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/1.179, allocations: 19.92 kB / 1.41 GB, free: 6.625 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/1.18, allocations: 95.28 kB / 1.41 GB, free: 6.531 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/1.18, allocations: 32 kB / 1.41 GB, free: 6.5 MB / 1.123 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.0005277/1.18, allocations: 335.4 kB / 1.41 GB, free: 6.164 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/1.18, allocations: 91.44 kB / 1.41 GB, free: 6.074 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/1.182, allocations: 0.618 MB / 1.411 GB, free: 5.441 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/1.182, allocations: 7.938 kB / 1.411 GB, free: 5.434 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.182, allocations: 0 / 1.411 GB, free: 5.434 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007974/1.182, allocations: 0.5249 MB / 1.411 GB, free: 4.898 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/1.185, allocations: 1.667 MB / 1.413 GB, free: 3.152 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.185, allocations: 3.984 kB / 1.413 GB, free: 3.148 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/1.186, allocations: 111.9 kB / 1.413 GB, free: 3.039 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/1.186, allocations: 4 kB / 1.413 GB, free: 3.035 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/1.186, allocations: 12.16 kB / 1.413 GB, free: 3.023 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/1.186, allocations: 8 kB / 1.413 GB, free: 3.016 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.186, allocations: 7.984 kB / 1.413 GB, free: 3.008 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/1.187, allocations: 1.035 MB / 1.414 GB, free: 1.934 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/1.188, allocations: 220.4 kB / 1.414 GB, free: 1.699 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.188, allocations: 19.98 kB / 1.414 GB, free: 1.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/1.188, allocations: 8 kB / 1.414 GB, free: 1.672 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/1.188, allocations: 31.95 kB / 1.414 GB, free: 1.641 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/1.188, allocations: 20 kB / 1.414 GB, free: 1.621 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007907/1.189, allocations: 0.5185 MB / 1.415 GB, free: 1.109 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.189, allocations: 0 / 1.415 GB, free: 1.109 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009256/1.19, allocations: 303.4 kB / 1.415 GB, free: 0.8125 MB / 1.123 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.002247/1.192, allocations: 1.671 MB / 1.417 GB, free: 15.11 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001074/1.194, allocations: 0.6108 MB / 1.417 GB, free: 14.5 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.194, allocations: 0 / 1.417 GB, free: 14.5 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003782/1.194, allocations: 269.2 kB / 1.418 GB, free: 14.24 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/1.196, allocations: 443.8 kB / 1.418 GB, free: 13.81 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.207, allocations: 7.241 MB / 1.425 GB, free: 6.188 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.208, allocations: 1.122 MB / 1.426 GB, free: 5.039 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001336/1.209, allocations: 267 kB / 1.427 GB, free: 4.773 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007115/1.21, allocations: 359.3 kB / 1.427 GB, free: 4.422 MB / 1.139 GB Notification: Performance of SimCode: time 1.883e-06/1.21, allocations: 0 / 1.427 GB, free: 4.422 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06102/1.271, allocations: 23.1 MB / 1.449 GB, free: 13.64 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.916/11.19, allocations: 4.578 kB / 1.449 GB, free: 13.64 MB / 1.17 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.005044504068792] Failed to read output from testmodel.py, exit status != 0: 11.269161198986694 11.284841388 10.131223792 Calling exit ...