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.001229/0.001229, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001385/0.001385, allocations: 216.6 kB / 23.04 MB, free: 5.078 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.8636/0.8636, allocations: 134 MB / 447.2 MB, free: 10.27 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.001966/0.001966, allocations: 63.34 kB / 0.6193 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1796, allocations: 85.91 MB / 0.7032 GB, free: 1.398 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6105/0.7901, allocations: 199.1 MB / 0.8977 GB, free: 15.46 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.8094, allocations: 14.5 MB / 0.9118 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.8106, allocations: 51.56 kB / 0.9119 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.8121, allocations: 0.5085 MB / 0.9124 GB, free: 356 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.8169, allocations: 1.992 MB / 0.9143 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.8195, allocations: 0.9042 MB / 0.9152 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003916/0.8234, allocations: 2.632 MB / 0.9178 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.8247, allocations: 0.8016 MB / 0.9186 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004539/0.8293, allocations: 1.706 MB / 0.9202 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.8312, allocations: 0.9917 MB / 0.9212 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.8314, allocations: 108 kB / 0.9213 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.834, allocations: 1.185 MB / 0.9225 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005734/0.8346, allocations: 0.4986 MB / 0.9229 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008627/0.8355, allocations: 0.6416 MB / 0.9236 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.8385, allocations: 1.931 MB / 0.9255 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8385, allocations: 0 / 0.9255 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8385, allocations: 0 / 0.9255 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.131e-05/0.8385, allocations: 0 / 0.9255 GB, free: 2.949 MB / 0.6856 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.002889/0.8414, allocations: 1.407 MB / 0.9268 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.8415, allocations: 8.031 kB / 0.9268 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.836e-05/0.8415, allocations: 29.94 kB / 0.9269 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001974/0.8417, allocations: 143.5 kB / 0.927 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.8433, allocations: 267 kB / 0.9273 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.8447, allocations: 0.7246 MB / 0.928 GB, free: 312 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/0.8448, allocations: 70 kB / 0.928 GB, free: 244 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.845, allocations: 99.44 kB / 0.9281 GB, free: 148 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.8469, allocations: 1.176 MB / 0.9293 GB, free: 14.89 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.8469, allocations: 0 / 0.9293 GB, free: 14.89 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.847, allocations: 40 kB / 0.9293 GB, free: 14.86 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/0.8471, allocations: 30 kB / 0.9293 GB, free: 14.83 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.8485, allocations: 0.9015 MB / 0.9302 GB, free: 13.93 MB / 0.7013 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.006667/0.8552, allocations: 5.673 MB / 0.9358 GB, free: 7.801 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/0.856, allocations: 0.5029 MB / 0.9363 GB, free: 7.293 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.8564, allocations: 290.6 kB / 0.9365 GB, free: 7.008 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/0.8569, allocations: 88.41 kB / 0.9366 GB, free: 6.922 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.857, allocations: 46.94 kB / 0.9367 GB, free: 6.867 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=49): time 2.444e-06/0.857, allocations: 0 / 0.9367 GB, free: 6.867 MB / 0.7013 GB Notification: Performance of matching and sorting (n=49): time 0.001586/0.8585, allocations: 0.8031 MB / 0.9374 GB, free: 6.055 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.8586, allocations: 63.78 kB / 0.9375 GB, free: 5.98 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/0.8596, allocations: 0.7509 MB / 0.9382 GB, free: 5.219 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.8596, allocations: 33.7 kB / 0.9383 GB, free: 5.18 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.8601, allocations: 0.5272 MB / 0.9388 GB, free: 4.645 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.8603, allocations: 186.4 kB / 0.939 GB, free: 4.461 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.8605, allocations: 142.6 kB / 0.9391 GB, free: 4.312 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.8606, allocations: 338 kB / 0.9394 GB, free: 3.977 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.861, allocations: 241.9 kB / 0.9396 GB, free: 3.742 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.8617, allocations: 0.5644 MB / 0.9402 GB, free: 3.039 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.8628, allocations: 0.7957 MB / 0.941 GB, free: 2.133 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.8628, allocations: 4 kB / 0.941 GB, free: 2.129 MB / 0.7013 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001345/0.8641, allocations: 0.8428 MB / 0.9418 GB, free: 1.281 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.8642, allocations: 11.94 kB / 0.9418 GB, free: 1.27 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.8642, allocations: 8 kB / 0.9418 GB, free: 1.262 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.8642, allocations: 15.94 kB / 0.9418 GB, free: 1.246 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.8648, allocations: 151.8 kB / 0.942 GB, free: 1.098 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.8648, allocations: 20.52 kB / 0.942 GB, free: 1.078 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007051/0.8655, allocations: 95.34 kB / 0.9421 GB, free: 0.9844 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.8656, allocations: 32 kB / 0.9421 GB, free: 0.9531 MB / 0.7013 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.0004915/0.8661, allocations: 333.5 kB / 0.9424 GB, free: 0.6172 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.8662, allocations: 91.38 kB / 0.9425 GB, free: 0.5273 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.8673, allocations: 0.618 MB / 0.9431 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.8673, allocations: 11.94 kB / 0.9431 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8673, allocations: 0 / 0.9431 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007604/0.8681, allocations: 0.5142 MB / 0.9436 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.8706, allocations: 1.635 MB / 0.9452 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.8706, allocations: 4 kB / 0.9452 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.8713, allocations: 111.9 kB / 0.9454 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.8713, allocations: 4 kB / 0.9454 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.8713, allocations: 13.12 kB / 0.9454 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.8713, allocations: 4 kB / 0.9454 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.8713, allocations: 7.938 kB / 0.9454 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.8728, allocations: 1.054 MB / 0.9464 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/0.8732, allocations: 155.2 kB / 0.9466 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.8733, allocations: 20 kB / 0.9466 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.8737, allocations: 11.98 kB / 0.9466 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.8738, allocations: 35.89 kB / 0.9466 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.8739, allocations: 20.86 kB / 0.9466 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007287/0.8746, allocations: 0.5146 MB / 0.9471 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8746, allocations: 0 / 0.9471 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009304/0.8755, allocations: 295.5 kB / 0.9474 GB, free: 11.39 MB / 0.7169 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.002237/0.8778, allocations: 1.701 MB / 0.9491 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.8789, allocations: 0.5845 MB / 0.9497 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8789, allocations: 4.625 kB / 0.9497 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.8793, allocations: 263.4 kB / 0.9499 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.8814, allocations: 444.3 kB / 0.9503 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.8928, allocations: 7.217 MB / 0.9574 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.8939, allocations: 1.122 MB / 0.9585 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008409/0.8947, allocations: 263.1 kB / 0.9587 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/0.8952, allocations: 359.3 kB / 0.9591 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of SimCode: time 1.443e-06/0.8952, allocations: 0 / 0.9591 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07812/0.9733, allocations: 23.89 MB / 0.9824 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.44, allocations: 9.375 kB / 0.9824 GB, free: 7.488 MB / 0.7481 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.196333615109324] Failed to read output from testmodel.py, exit status != 0: 13.617359681986272 13.633870384 12.792036775 Calling exit ...