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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 95.42 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001217, allocations: 203.1 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00022/0.0002203, allocations: 4 kB / 306.7 MB, free: 1.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1111, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003681/0.1149, allocations: 2.932 MB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1164, allocations: 0.9353 MB / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.1166, allocations: 11.94 kB / 362.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.1168, allocations: 71.48 kB / 362.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.1171, allocations: 207.4 kB / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1174, allocations: 95.83 kB / 362.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.118, allocations: 478.7 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.1182, allocations: 159 kB / 363.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.1184, allocations: 215.2 kB / 363.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.1187, allocations: 243 kB / 363.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.1188, allocations: 32 kB / 363.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.1189, allocations: 32 kB / 363.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.119, allocations: 99.59 kB / 363.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1191, allocations: 125.5 kB / 363.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.1195, allocations: 498.8 kB / 364.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1195, allocations: 3.938 kB / 364.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1195, allocations: 0 / 364.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1196, allocations: 0 / 364.3 MB, free: 7.652 MB / 302.1 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.001358/0.1209, allocations: 0.8076 MB / 365.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.121, allocations: 8.031 kB / 365.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.1211, allocations: 75.17 kB / 365.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.1212, allocations: 67.25 kB / 365.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.1218, allocations: 405.5 kB / 365.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.122, allocations: 90.27 kB / 365.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.1221, allocations: 32 kB / 365.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009584/0.1231, allocations: 0.497 MB / 366.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1231, allocations: 0 / 366.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.1232, allocations: 16 kB / 366.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1232, allocations: 8 kB / 366.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008812/0.1241, allocations: 390.4 kB / 366.7 MB, free: 5.117 MB / 302.1 MB 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.001939/0.126, allocations: 1.283 MB / 367.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.1267, allocations: 403.5 kB / 368.3 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.1268, allocations: 11.98 kB / 368.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1268, allocations: 38.5 kB / 368.4 MB, free: 3.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.1268, allocations: 8 kB / 368.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.00172/0.1285, allocations: 0.7908 MB / 369.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002669/0.1288, allocations: 448.8 kB / 369.6 MB, free: 1.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.1293, allocations: 426 kB / 370 MB, free: 1.445 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.1294, allocations: 37.7 kB / 370.1 MB, free: 1.402 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1296, allocations: 240.5 kB / 370.3 MB, free: 1.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1297, allocations: 118.2 kB / 370.4 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.1297, allocations: 8 kB / 370.4 MB, free: 1.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1299, allocations: 362.7 kB / 370.8 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.1303, allocations: 163.9 kB / 370.9 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.1308, allocations: 306.6 kB / 371.2 MB, free: 164 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1851/0.3159, allocations: 203.6 kB / 371.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.3159, allocations: 0 / 371.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001348/0.3173, allocations: 0.5089 MB / 372 MB, free: 19.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.3173, allocations: 37.27 kB / 372 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3174, allocations: 4.219 kB / 372 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.3175, allocations: 55.72 kB / 372 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.318, allocations: 93.73 kB / 372.1 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.3198, allocations: 2.763 MB / 374.9 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.3203, allocations: 65.47 kB / 375 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.3204, allocations: 13.31 kB / 375 MB, free: 16.55 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * 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.0002255/0.3206, allocations: 174.1 kB / 375.1 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.186e-05/0.3207, allocations: 52.81 kB / 375.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.3208, allocations: 58.48 kB / 375.3 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3208, allocations: 6.766 kB / 375.3 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3208, allocations: 1.094 kB / 375.3 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/0.3219, allocations: 0.7655 MB / 376 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.3238, allocations: 1.042 MB / 377.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3238, allocations: 1.156 kB / 377.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.3243, allocations: 103.3 kB / 377.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3243, allocations: 5.594 kB / 377.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3243, allocations: 7.234 kB / 377.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3243, allocations: 1.656 kB / 377.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3243, allocations: 4.672 kB / 377.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.3257, allocations: 0.7097 MB / 377.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.3259, allocations: 162.4 kB / 378.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/0.3259, allocations: 13.44 kB / 378.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.3263, allocations: 39.7 kB / 378.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.3264, allocations: 21.83 kB / 378.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.3265, allocations: 9.469 kB / 378.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003151/0.3268, allocations: 300.8 kB / 378.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3268, allocations: 4 kB / 378.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005209/0.3273, allocations: 141.1 kB / 378.6 MB, free: 15.08 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.001528/0.3289, allocations: 1.269 MB / 379.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.3301, allocations: 0.6815 MB / 380.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3301, allocations: 1.344 kB / 380.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004082/0.3305, allocations: 196.6 kB / 380.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.3311, allocations: 130.8 kB / 380.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.333, allocations: 1.622 MB / 382.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.3333, allocations: 0.8421 MB / 383.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002587/0.3336, allocations: 58.33 kB / 383.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.3338, allocations: 167.4 kB / 383.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3338, allocations: 0 / 383.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/0.4396, allocations: 11.57 MB / 395.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/0.4398, allocations: 207.9 kB / 395.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/2.539, allocations: 11.69 kB / 395.3 MB, free: 7.566 MB / 302.1 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