Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001147/0.001147, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.000954/0.000954, allocations: 213.7 kB / 22.25 MB, free: 3.711 MB / 13.93 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.9686/0.9686, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8314/0.8314, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",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.0009315/0.0009315, allocations: 70.8 kB / 0.7183 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5371, allocations: 102 MB / 0.8179 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.179/0.7161, allocations: 199.2 MB / 1.012 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.7303, allocations: 14.52 MB / 1.027 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.7316, allocations: 51.56 kB / 1.027 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.733, allocations: 0.5163 MB / 1.027 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004024/0.737, allocations: 1.995 MB / 1.029 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.739, allocations: 0.9227 MB / 1.03 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003275/0.7423, allocations: 2.635 MB / 1.033 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.7433, allocations: 0.7992 MB / 1.033 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.7472, allocations: 1.908 MB / 1.035 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.7487, allocations: 0.972 MB / 1.036 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.7488, allocations: 108 kB / 1.036 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.7508, allocations: 1.169 MB / 1.037 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004369/0.7512, allocations: 0.5064 MB / 1.038 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0006863/0.7519, allocations: 0.6338 MB / 1.039 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.7547, allocations: 1.923 MB / 1.04 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7548, allocations: 4 kB / 1.04 GB, free: 1.477 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.053e-06/0.7548, allocations: 0 / 1.04 GB, free: 1.477 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.23e-05/0.7548, allocations: 3.938 kB / 1.04 GB, free: 1.473 MB / 0.8073 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.001945/0.7567, allocations: 1.411 MB / 1.042 GB, free: 28 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.7568, allocations: 16.02 kB / 1.042 GB, free: 12 kB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.7569, allocations: 139.6 kB / 1.042 GB, free: 15.87 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009585/0.7579, allocations: 259 kB / 1.042 GB, free: 15.61 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.759, allocations: 0.737 MB / 1.043 GB, free: 14.85 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.759, allocations: 69.94 kB / 1.043 GB, free: 14.78 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/0.7591, allocations: 92 kB / 1.043 GB, free: 14.69 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.7603, allocations: 1.174 MB / 1.044 GB, free: 13.45 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.7604, allocations: 11.89 kB / 1.044 GB, free: 13.43 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.7604, allocations: 39.94 kB / 1.044 GB, free: 13.39 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.7604, allocations: 34 kB / 1.044 GB, free: 13.36 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.7615, allocations: 0.9016 MB / 1.045 GB, free: 12.46 MB / 0.823 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.005055/0.7665, allocations: 5.756 MB / 1.051 GB, free: 6.23 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.7672, allocations: 0.5198 MB / 1.051 GB, free: 5.699 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.7675, allocations: 294.6 kB / 1.052 GB, free: 5.406 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.7678, allocations: 84.42 kB / 1.052 GB, free: 5.324 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.7678, allocations: 39 kB / 1.052 GB, free: 5.277 MB / 0.823 GB Notification: Performance of pre-optimization done (n=49): time 2.525e-06/0.7678, allocations: 0 / 1.052 GB, free: 5.277 MB / 0.823 GB Notification: Performance of matching and sorting (n=49): time 0.001414/0.7692, allocations: 0.8069 MB / 1.052 GB, free: 4.465 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.7692, allocations: 55.84 kB / 1.053 GB, free: 4.398 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.77, allocations: 0.7549 MB / 1.053 GB, free: 3.637 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.77, allocations: 37.7 kB / 1.053 GB, free: 3.594 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.7703, allocations: 0.5272 MB / 1.054 GB, free: 3.059 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.7705, allocations: 182.4 kB / 1.054 GB, free: 2.879 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.7706, allocations: 138.6 kB / 1.054 GB, free: 2.734 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7707, allocations: 341.9 kB / 1.054 GB, free: 2.395 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.771, allocations: 245.9 kB / 1.055 GB, free: 2.156 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.7715, allocations: 0.5547 MB / 1.055 GB, free: 1.461 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.7722, allocations: 0.7995 MB / 1.056 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.7722, allocations: 0 / 1.056 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009116/0.7731, allocations: 0.8549 MB / 1.057 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.7731, allocations: 8.156 kB / 1.057 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.7731, allocations: 12 kB / 1.057 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.7732, allocations: 12 kB / 1.057 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.7735, allocations: 155.8 kB / 1.057 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.7735, allocations: 19.92 kB / 1.057 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.774, allocations: 91.33 kB / 1.057 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.774, allocations: 32 kB / 1.057 GB, free: 15.37 MB / 0.8386 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.0003871/0.7744, allocations: 333.5 kB / 1.057 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.854e-05/0.7745, allocations: 91.38 kB / 1.058 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007464/0.7752, allocations: 0.6141 MB / 1.058 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.7753, allocations: 11.94 kB / 1.058 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.7753, allocations: 0 / 1.058 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005191/0.7758, allocations: 0.5211 MB / 1.059 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.7778, allocations: 1.646 MB / 1.06 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.7778, allocations: 3.938 kB / 1.06 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.7781, allocations: 107.9 kB / 1.06 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.7781, allocations: 8.203 kB / 1.06 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.7782, allocations: 12 kB / 1.06 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.7782, allocations: 7.938 kB / 1.06 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.7782, allocations: 4 kB / 1.06 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009628/0.7791, allocations: 1.027 MB / 1.061 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.7794, allocations: 147.3 kB / 1.062 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.7795, allocations: 19.98 kB / 1.062 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.7797, allocations: 8 kB / 1.062 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.7798, allocations: 36.08 kB / 1.062 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.7798, allocations: 23.98 kB / 1.062 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004982/0.7803, allocations: 0.5146 MB / 1.062 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.7803, allocations: 0 / 1.062 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007724/0.7811, allocations: 303.4 kB / 1.062 GB, free: 9.816 MB / 0.8386 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.001568/0.7826, allocations: 1.648 MB / 1.064 GB, free: 8.125 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000759/0.7834, allocations: 0.5917 MB / 1.065 GB, free: 7.535 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7834, allocations: 0 / 1.065 GB, free: 7.535 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.7836, allocations: 259.8 kB / 1.065 GB, free: 7.281 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.7848, allocations: 436.9 kB / 1.065 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007434/0.7923, allocations: 7.265 MB / 1.072 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008097/0.7931, allocations: 1.122 MB / 1.073 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006716/0.7937, allocations: 271.1 kB / 1.074 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.7941, allocations: 363.3 kB / 1.074 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of SimCode: time 1.372e-06/0.7941, allocations: 0 / 1.074 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0487/0.8428, allocations: 23.82 MB / 1.097 GB, free: 5.957 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.916, allocations: 10.8 kB / 1.097 GB, free: 5.949 MB / 0.8698 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.978593664010987] Failed to read output from testmodel.py, exit status != 0: 9.006135475123301 9.014643676 8.257934053 Calling exit ...