Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 96.67 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 176.6 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3844/0.3844, allocations: 43.54 MB / 314.5 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006026/0.0006028, allocations: 19.98 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1316, allocations: 58.84 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4136/0.5453, allocations: 148.7 MB / 0.5777 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004319/0.5497, allocations: 3.302 MB / 0.5809 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.55, allocations: 7.938 kB / 0.5809 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.5506, allocations: 155.2 kB / 0.581 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.5511, allocations: 223.4 kB / 0.5812 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004443/0.5555, allocations: 1.597 MB / 0.5828 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008744/0.5564, allocations: 0.5454 MB / 0.5833 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004737/0.5569, allocations: 268.1 kB / 0.5836 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/0.5601, allocations: 1.232 MB / 0.5848 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.5605, allocations: 223.2 kB / 0.585 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.5606, allocations: 20 kB / 0.585 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004767/0.5654, allocations: 2.504 MB / 0.5875 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.5656, allocations: 163.5 kB / 0.5876 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.5657, allocations: 113.5 kB / 0.5877 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.5679, allocations: 1.338 MB / 0.589 GB, free: 11.1 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5679, allocations: 3.938 kB / 0.589 GB, free: 11.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5679, allocations: 0 / 0.589 GB, free: 11.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.5679, allocations: 4 kB / 0.5891 GB, free: 11.09 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001608/0.5695, allocations: 0.9601 MB / 0.59 GB, free: 10.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5696, allocations: 12.03 kB / 0.59 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.762e-05/0.5697, allocations: 85.91 kB / 0.5901 GB, free: 9.969 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.5699, allocations: 59.42 kB / 0.5901 GB, free: 9.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.5705, allocations: 350.2 kB / 0.5905 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.5705, allocations: 29 kB / 0.5905 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.5706, allocations: 36 kB / 0.5905 GB, free: 9.469 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008259/0.5714, allocations: 0.5237 MB / 0.591 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5714, allocations: 0 / 0.591 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.5715, allocations: 16 kB / 0.5911 GB, free: 8.898 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.5715, allocations: 12 kB / 0.5911 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.5723, allocations: 0.4987 MB / 0.5916 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.5749, allocations: 1.981 MB / 0.5935 GB, free: 6.273 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/0.5756, allocations: 457.4 kB / 0.5939 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008087/0.5764, allocations: 0.9455 MB / 0.5949 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.5764, allocations: 46.5 kB / 0.5949 GB, free: 4.578 MB / 462.1 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.5765, allocations: 0 / 0.5949 GB, free: 4.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=30): time 0.001074/0.5775, allocations: 0.5081 MB / 0.5954 GB, free: 4.066 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.5776, allocations: 106.8 kB / 0.5955 GB, free: 3.938 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.578, allocations: 401.5 kB / 0.5959 GB, free: 3.539 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.5781, allocations: 37.64 kB / 0.5959 GB, free: 3.496 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.5782, allocations: 216.1 kB / 0.5961 GB, free: 3.281 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.5783, allocations: 110.4 kB / 0.5962 GB, free: 3.172 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.5783, allocations: 4 kB / 0.5962 GB, free: 3.168 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5785, allocations: 354.8 kB / 0.5966 GB, free: 2.812 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.5788, allocations: 160.6 kB / 0.5967 GB, free: 2.656 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.5792, allocations: 258 kB / 0.597 GB, free: 2.359 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.5796, allocations: 247.3 kB / 0.5972 GB, free: 2.105 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5796, allocations: 0 / 0.5972 GB, free: 2.105 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001/0.5806, allocations: 0.5576 MB / 0.5977 GB, free: 1.531 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.467e-05/0.5807, allocations: 63.78 kB / 0.5978 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.5807, allocations: 8 kB / 0.5978 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5808, allocations: 4 kB / 0.5978 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.5812, allocations: 87.88 kB / 0.5979 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.5812, allocations: 7.938 kB / 0.5979 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.5816, allocations: 67.38 kB / 0.598 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.5817, allocations: 24.73 kB / 0.598 GB, free: 1.262 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002178/0.5819, allocations: 177.8 kB / 0.5982 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.582, allocations: 43.53 kB / 0.5982 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.583, allocations: 0.4938 MB / 0.5987 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.583, allocations: 4 kB / 0.5987 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.583, allocations: 0 / 0.5987 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5831, allocations: 7.984 kB / 0.5987 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.5859, allocations: 2.431 MB / 0.6011 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5859, allocations: 4 kB / 0.6011 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.5862, allocations: 68.09 kB / 0.6011 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.5862, allocations: 11.94 kB / 0.6012 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.5862, allocations: 8 kB / 0.6012 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.5863, allocations: 7.938 kB / 0.6012 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5863, allocations: 4 kB / 0.6012 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007909/0.5871, allocations: 0.7348 MB / 0.6019 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.5872, allocations: 148.4 kB / 0.602 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.5873, allocations: 8 kB / 0.602 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.5877, allocations: 27.97 kB / 0.6021 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.5878, allocations: 23.97 kB / 0.6021 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.5879, allocations: 23.94 kB / 0.6021 GB, free: 12.58 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003703/0.5882, allocations: 355.1 kB / 0.6025 GB, free: 12.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5883, allocations: 0 / 0.6025 GB, free: 12.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001141/0.5894, allocations: 383.6 kB / 0.6028 GB, free: 11.86 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002545/0.592, allocations: 2.296 MB / 0.6051 GB, free: 9.496 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008128/0.5928, allocations: 482.9 kB / 0.6055 GB, free: 9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5928, allocations: 0 / 0.6055 GB, free: 9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.5931, allocations: 176.8 kB / 0.6057 GB, free: 8.828 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.5943, allocations: 237.6 kB / 0.6059 GB, free: 8.602 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.5971, allocations: 3.569 MB / 0.6094 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.5975, allocations: 0.8471 MB / 0.6102 GB, free: 4.039 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004574/0.598, allocations: 115.6 kB / 0.6103 GB, free: 3.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.5982, allocations: 143.4 kB / 0.6105 GB, free: 3.789 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5982, allocations: 4 kB / 0.6105 GB, free: 3.785 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.6343, allocations: 19.22 MB / 0.6293 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.6345, allocations: 254.6 kB / 0.6295 GB, free: 360 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/2.896, allocations: 4 kB / 0.6295 GB, free: 356 kB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat