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.001313/0.001313, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001655/0.001655, allocations: 221.8 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8573/0.8573, allocations: 134 MB / 447.2 MB, free: 9.957 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 66.7 kB / 0.6193 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1783, allocations: 85.9 MB / 0.7032 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5842/0.7625, allocations: 172.5 MB / 0.8716 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01823/0.7807, allocations: 13.13 MB / 0.8844 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.782, allocations: 47.62 kB / 0.8845 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.7836, allocations: 0.4969 MB / 0.885 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.7884, allocations: 1.941 MB / 0.8869 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.7908, allocations: 0.8963 MB / 0.8877 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003661/0.7945, allocations: 2.64 MB / 0.8903 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.796, allocations: 0.798 MB / 0.8911 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004897/0.8009, allocations: 1.672 MB / 0.8927 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.8031, allocations: 0.9878 MB / 0.8937 GB, free: 188 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003453/0.8034, allocations: 108 kB / 0.8938 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.8062, allocations: 0.9429 MB / 0.8947 GB, free: 15.13 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008623/0.8071, allocations: 0.5142 MB / 0.8952 GB, free: 14.62 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.8081, allocations: 0.5251 MB / 0.8957 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00382/0.8119, allocations: 1.907 MB / 0.8976 GB, free: 12.18 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8119, allocations: 0 / 0.8976 GB, free: 12.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8119, allocations: 0 / 0.8976 GB, free: 12.18 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.594e-05/0.812, allocations: 4 kB / 0.8976 GB, free: 12.18 MB / 0.67 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.002809/0.8148, allocations: 1.411 MB / 0.899 GB, free: 10.73 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.8148, allocations: 8.031 kB / 0.899 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.815e-05/0.8149, allocations: 26 kB / 0.899 GB, free: 10.7 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.815, allocations: 143.5 kB / 0.8992 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.8165, allocations: 259.6 kB / 0.8994 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.8179, allocations: 0.7323 MB / 0.9001 GB, free: 9.531 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/0.818, allocations: 70 kB / 0.9002 GB, free: 9.465 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.8181, allocations: 95.94 kB / 0.9003 GB, free: 9.371 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.8202, allocations: 1.302 MB / 0.9015 GB, free: 7.965 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.8202, allocations: 4 kB / 0.9015 GB, free: 7.961 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/0.8203, allocations: 41.12 kB / 0.9016 GB, free: 7.922 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.8203, allocations: 30 kB / 0.9016 GB, free: 7.895 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.8218, allocations: 0.9054 MB / 0.9025 GB, free: 6.988 MB / 0.67 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.005488/0.8273, allocations: 4.123 MB / 0.9065 GB, free: 2.734 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/0.8281, allocations: 0.4972 MB / 0.907 GB, free: 2.23 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.8285, allocations: 294.6 kB / 0.9073 GB, free: 1.941 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004814/0.829, allocations: 76.36 kB / 0.9074 GB, free: 1.867 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.829, allocations: 46.92 kB / 0.9074 GB, free: 1.812 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 3.136e-06/0.829, allocations: 3.938 kB / 0.9074 GB, free: 1.809 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.001669/0.8307, allocations: 0.7992 MB / 0.9082 GB, free: 1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.8307, allocations: 63.78 kB / 0.9083 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009676/0.8317, allocations: 0.7548 MB / 0.909 GB, free: 164 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.8317, allocations: 37.7 kB / 0.909 GB, free: 120 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.8322, allocations: 0.5234 MB / 0.9095 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.8324, allocations: 186.4 kB / 0.9097 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.8326, allocations: 142.6 kB / 0.9099 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.8328, allocations: 337.9 kB / 0.9102 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.8331, allocations: 242.7 kB / 0.9104 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008357/0.834, allocations: 0.8617 MB / 0.9112 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.8351, allocations: 0.8035 MB / 0.912 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.8351, allocations: 4 kB / 0.912 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001402/0.8365, allocations: 0.8431 MB / 0.9129 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.8365, allocations: 8 kB / 0.9129 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.8365, allocations: 8 kB / 0.9129 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.8365, allocations: 15.94 kB / 0.9129 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.8371, allocations: 155.8 kB / 0.913 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.8372, allocations: 19.92 kB / 0.9131 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007463/0.8379, allocations: 95.72 kB / 0.9131 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.838, allocations: 32 kB / 0.9132 GB, free: 11.52 MB / 0.6856 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.0005259/0.8385, allocations: 333.5 kB / 0.9135 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.8387, allocations: 87.44 kB / 0.9136 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.8397, allocations: 0.6179 MB / 0.9142 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.8397, allocations: 7.938 kB / 0.9142 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8397, allocations: 0 / 0.9142 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007365/0.8404, allocations: 0.5173 MB / 0.9147 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.8431, allocations: 1.538 MB / 0.9162 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8431, allocations: 0 / 0.9162 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.8436, allocations: 111.9 kB / 0.9163 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.8436, allocations: 7.938 kB / 0.9163 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.8437, allocations: 12 kB / 0.9163 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.8437, allocations: 4.219 kB / 0.9163 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.8437, allocations: 7.938 kB / 0.9163 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.8452, allocations: 1.054 MB / 0.9174 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.8457, allocations: 167.2 kB / 0.9175 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.8458, allocations: 8.141 kB / 0.9175 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.8463, allocations: 19.98 kB / 0.9176 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.8464, allocations: 35.88 kB / 0.9176 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.8464, allocations: 19.98 kB / 0.9176 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007031/0.8471, allocations: 0.5107 MB / 0.9181 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8471, allocations: 0 / 0.9181 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009281/0.848, allocations: 307.4 kB / 0.9184 GB, free: 6.035 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.002221/0.8503, allocations: 1.698 MB / 0.9201 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.8514, allocations: 0.5811 MB / 0.9206 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8514, allocations: 0 / 0.9206 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.8518, allocations: 267.5 kB / 0.9209 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.8539, allocations: 445 kB / 0.9213 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.8644, allocations: 7.209 MB / 0.9283 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.865, allocations: 0.5277 MB / 0.9289 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000833/0.8658, allocations: 263.1 kB / 0.9291 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/0.8663, allocations: 363.3 kB / 0.9295 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of SimCode: time 7.62e-07/0.8663, allocations: 3.938 kB / 0.9295 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05862/0.925, allocations: 25.26 MB / 0.9541 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.79, allocations: 3.984 kB / 0.9541 GB, free: 1.547 MB / 0.7169 GB " [Timeout remaining time 646] (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: 17.53531039203517] Failed to read output from testmodel.py, exit status != 0: 13.965259365038946 13.99218618 13.175325295 Calling exit ...