Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.668/1.668, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009987/0.0009989, allocations: 88.33 kB / 292.1 MB, free: 5.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.652e-05, allocations: 4 kB / 350.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1227, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.5228, allocations: 81.76 MB / 483.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.5231, allocations: 68.16 kB / 484 MB, free: 7.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02312/0.5463, allocations: 10.01 MB / 494 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5463, allocations: 0 / 494 MB, free: 15.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.936e-05/0.5464, allocations: 8 kB / 494 MB, free: 15.29 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001278/0.5477, allocations: 0.7332 MB / 494.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.5477, allocations: 8.031 kB / 494.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.5479, allocations: 83.25 kB / 494.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.548, allocations: 67.25 kB / 494.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/0.5486, allocations: 386.6 kB / 495.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.5487, allocations: 65.16 kB / 495.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-05/0.5488, allocations: 34.16 kB / 495.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.5495, allocations: 454.9 kB / 495.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5495, allocations: 0 / 495.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.5496, allocations: 23.98 kB / 495.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5496, allocations: 8 kB / 495.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.5501, allocations: 275.1 kB / 496.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.5524, allocations: 1.292 MB / 497.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.553, allocations: 371.9 kB / 497.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.5532, allocations: 148.8 kB / 497.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.5533, allocations: 7.984 kB / 497.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.5533, allocations: 42.56 kB / 497.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 2.224e-06/0.5533, allocations: 0 / 497.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.000809/0.5541, allocations: 381.6 kB / 498.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002646/0.5544, allocations: 452.9 kB / 498.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.5549, allocations: 399.1 kB / 499.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.555, allocations: 33.7 kB / 499.2 MB, free: 9.699 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.5552, allocations: 244.4 kB / 499.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.5553, allocations: 122.2 kB / 499.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.5553, allocations: 8 kB / 499.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.5555, allocations: 354.8 kB / 499.9 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.5557, allocations: 115 kB / 500 MB, free: 8.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.556, allocations: 248.1 kB / 0.4885 GB, free: 8.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.5563, allocations: 160.3 kB / 0.4887 GB, free: 8.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5563, allocations: 5.344 kB / 0.4887 GB, free: 8.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007352/0.5571, allocations: 432.2 kB / 0.4891 GB, free: 7.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.5571, allocations: 33.69 kB / 0.4891 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5571, allocations: 0 / 0.4891 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.5574, allocations: 61.72 kB / 0.4892 GB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.5578, allocations: 91.88 kB / 0.4893 GB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.5603, allocations: 2.746 MB / 0.4919 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.5607, allocations: 59.7 kB / 0.492 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.5607, allocations: 12 kB / 0.492 GB, free: 4.688 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.5609, allocations: 132.9 kB / 0.4921 GB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.561, allocations: 51.44 kB / 0.4922 GB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.5611, allocations: 56.88 kB / 0.4922 GB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5611, allocations: 4 kB / 0.4922 GB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5611, allocations: 0 / 0.4922 GB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006964/0.5618, allocations: 0.6685 MB / 0.4929 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.5633, allocations: 0.9595 MB / 0.4938 GB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5633, allocations: 3.984 kB / 0.4938 GB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.5637, allocations: 95.88 kB / 0.4939 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.5638, allocations: 4 kB / 0.4939 GB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.5638, allocations: 7.953 kB / 0.4939 GB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.5638, allocations: 4 kB / 0.4939 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5638, allocations: 4 kB / 0.4939 GB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007908/0.5646, allocations: 0.5695 MB / 0.4945 GB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.5648, allocations: 164.5 kB / 0.4947 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.5649, allocations: 8 kB / 0.4947 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.5652, allocations: 39.98 kB / 0.4947 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.5653, allocations: 27.97 kB / 0.4947 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.5653, allocations: 13.2 kB / 0.4947 GB, free: 1.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003838/0.5657, allocations: 313.2 kB / 0.495 GB, free: 1.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5657, allocations: 0 / 0.495 GB, free: 1.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004605/0.5662, allocations: 155.7 kB / 0.4952 GB, free: 1.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.001199/0.5674, allocations: 1.121 MB / 0.4963 GB, free: 72 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000893/0.5683, allocations: 0.5859 MB / 0.4969 GB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5683, allocations: 0 / 0.4969 GB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.5686, allocations: 147.9 kB / 0.497 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.5692, allocations: 133.2 kB / 0.4971 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.5708, allocations: 0.7405 MB / 0.4978 GB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.5713, allocations: 0.8394 MB / 0.4987 GB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002678/0.5716, allocations: 60.36 kB / 0.4987 GB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.5718, allocations: 171.4 kB / 0.4989 GB, free: 13.3 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5718, allocations: 0 / 0.4989 GB, free: 13.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.6019, allocations: 12.08 MB / 0.5107 GB, free: 1.59 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/0.6022, allocations: 180.3 kB / 0.5109 GB, free: 1.363 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/2.903, allocations: 3.938 kB / 0.5109 GB, free: 1.359 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat