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.001643/0.001643, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.002016/0.002016, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.8663/0.8663, allocations: 133.9 MB / 443.5 MB, free: 13.84 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.001951/0.001951, allocations: 67.25 kB / 0.6141 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1558, allocations: 85.85 MB / 0.698 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6447/0.8006, allocations: 198.7 MB / 0.892 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.8154, allocations: 14.4 MB / 0.9061 GB, free: 1.551 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.817, allocations: 53.59 kB / 0.9061 GB, free: 1.547 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.8187, allocations: 0.5143 MB / 0.9066 GB, free: 1.543 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005089/0.8238, allocations: 1.966 MB / 0.9086 GB, free: 1.461 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.8267, allocations: 0.8654 MB / 0.9094 GB, free: 1.441 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003971/0.8307, allocations: 2.571 MB / 0.9119 GB, free: 1.441 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.8323, allocations: 0.9266 MB / 0.9128 GB, free: 1.371 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004776/0.837, allocations: 1.667 MB / 0.9144 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.839, allocations: 0.9953 MB / 0.9154 GB, free: 1.352 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.8393, allocations: 108.2 kB / 0.9155 GB, free: 1.352 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.8418, allocations: 1.167 MB / 0.9167 GB, free: 1.34 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000601/0.8424, allocations: 0.5097 MB / 0.9172 GB, free: 1.332 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009345/0.8433, allocations: 0.6335 MB / 0.9178 GB, free: 1.195 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.8464, allocations: 1.924 MB / 0.9197 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8464, allocations: 4.156 kB / 0.9197 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8464, allocations: 0 / 0.9197 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.989e-05/0.8464, allocations: 0.9375 kB / 0.9197 GB, free: 0.9414 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.002374/0.8488, allocations: 1.482 MB / 0.9211 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.8489, allocations: 13.33 kB / 0.9211 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.881e-05/0.8489, allocations: 24.16 kB / 0.9211 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.849, allocations: 145.5 kB / 0.9213 GB, free: 16.09 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.8505, allocations: 261.9 kB / 0.9215 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.852, allocations: 0.8023 MB / 0.9223 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.8521, allocations: 67.34 kB / 0.9224 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.8522, allocations: 96.78 kB / 0.9225 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.854, allocations: 1.17 MB / 0.9236 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.854, allocations: 7.344 kB / 0.9236 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.8541, allocations: 34.91 kB / 0.9237 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.8541, allocations: 44.11 kB / 0.9237 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.8553, allocations: 0.9004 MB / 0.9246 GB, free: 15.45 MB / 0.6856 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.00606/0.8614, allocations: 5.745 MB / 0.9302 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007465/0.8621, allocations: 0.5026 MB / 0.9307 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.8625, allocations: 290.9 kB / 0.931 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.8631, allocations: 311.9 kB / 0.9313 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.8631, allocations: 43.09 kB / 0.9313 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=49): time 2.215e-06/0.8631, allocations: 0 / 0.9313 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.0015/0.8646, allocations: 0.7991 MB / 0.9321 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.8647, allocations: 63.22 kB / 0.9321 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008979/0.8656, allocations: 0.7493 MB / 0.9329 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/0.8656, allocations: 34.77 kB / 0.9329 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.8661, allocations: 0.5222 MB / 0.9334 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.8662, allocations: 186.1 kB / 0.9336 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.8664, allocations: 143.8 kB / 0.9337 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8666, allocations: 336.9 kB / 0.934 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.8669, allocations: 246.2 kB / 0.9343 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.8675, allocations: 0.5594 MB / 0.9348 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008858/0.8684, allocations: 0.7967 MB / 0.9356 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.8684, allocations: 3.469 kB / 0.9356 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001191/0.8696, allocations: 0.8492 MB / 0.9364 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.8696, allocations: 9.25 kB / 0.9364 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.8696, allocations: 8.594 kB / 0.9365 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.8696, allocations: 12.09 kB / 0.9365 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.8702, allocations: 156.7 kB / 0.9366 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/0.8702, allocations: 20.44 kB / 0.9366 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.871, allocations: 86.33 kB / 0.9367 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.871, allocations: 43.16 kB / 0.9368 GB, free: 9.5 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.0004406/0.8715, allocations: 335.2 kB / 0.9371 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.8716, allocations: 89.77 kB / 0.9372 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009558/0.8726, allocations: 0.6175 MB / 0.9378 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.8726, allocations: 4.906 kB / 0.9378 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8726, allocations: 5 kB / 0.9378 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006323/0.8732, allocations: 0.5175 MB / 0.9383 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.8755, allocations: 1.655 MB / 0.9399 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.8755, allocations: 7.172 kB / 0.9399 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.876, allocations: 116.5 kB / 0.94 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.8761, allocations: 3.281 kB / 0.94 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.8761, allocations: 14.75 kB / 0.94 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.8761, allocations: 2.812 kB / 0.94 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8761, allocations: 9.188 kB / 0.94 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.8774, allocations: 1.063 MB / 0.9411 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.8778, allocations: 230.8 kB / 0.9413 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.8779, allocations: 15.25 kB / 0.9413 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.8784, allocations: 16.16 kB / 0.9413 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.8784, allocations: 38.02 kB / 0.9414 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.8785, allocations: 16.06 kB / 0.9414 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006218/0.8791, allocations: 0.5127 MB / 0.9419 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/0.8791, allocations: 0 / 0.9419 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009679/0.8801, allocations: 300.9 kB / 0.9422 GB, free: 8.273 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.00195/0.882, allocations: 1.689 MB / 0.9438 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009144/0.8829, allocations: 0.5969 MB / 0.9444 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8829, allocations: 0.9688 kB / 0.9444 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.8832, allocations: 254 kB / 0.9446 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.8853, allocations: 442.8 kB / 0.9451 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.8953, allocations: 7.215 MB / 0.9521 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.8961, allocations: 1.129 MB / 0.9532 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008674/0.8969, allocations: 265.3 kB / 0.9535 GB, free: 3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/0.8975, allocations: 361.5 kB / 0.9538 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of SimCode: time 9.42e-07/0.8975, allocations: 0 / 0.9538 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05369/0.9512, allocations: 23.29 MB / 0.9766 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.814/10.76, allocations: 5.375 kB / 0.9766 GB, free: 13.46 MB / 0.7169 GB " [Timeout remaining time 649] (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 os._exit(0), Time elapsed: 14.589355432952289] Failed to read output from testmodel.py, exit status != 0: 11.207209475978743 10.931438133 10.080408201 Calling exit ...