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.0007985/0.0007985, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009643/0.0009645, allocations: 192 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002317/0.0002317, allocations: 4 kB / 306.8 MB, free: 1.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 51.49 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003558/0.1164, allocations: 3.173 MB / 361.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1181, allocations: 0.9117 MB / 362.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.1184, allocations: 7.938 kB / 362.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1187, allocations: 71.44 kB / 362.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.1191, allocations: 170.7 kB / 362.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.1193, allocations: 95.83 kB / 362.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006255/0.1199, allocations: 0.6026 MB / 363.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.1202, allocations: 155.1 kB / 363.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.1205, allocations: 219.1 kB / 363.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.1208, allocations: 270.8 kB / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.744e-05/0.1209, allocations: 36 kB / 364 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.488e-05/0.121, allocations: 40 kB / 364 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.312e-05/0.1211, allocations: 99.58 kB / 364.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1212, allocations: 133.5 kB / 364.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.1216, allocations: 0.5027 MB / 364.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1216, allocations: 0 / 364.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1216, allocations: 0 / 364.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1217, allocations: 3.938 kB / 364.8 MB, free: 7.504 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.001268/0.1229, allocations: 0.8193 MB / 365.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.738e-05/0.123, allocations: 8.031 kB / 365.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/0.1232, allocations: 79.17 kB / 365.7 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1233, allocations: 71.23 kB / 365.7 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.124, allocations: 429.4 kB / 366.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.1242, allocations: 86.33 kB / 366.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.1243, allocations: 31.98 kB / 366.3 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.1252, allocations: 0.5048 MB / 366.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1252, allocations: 0 / 366.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.1252, allocations: 16 kB / 366.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1253, allocations: 8 kB / 366.8 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009327/0.1262, allocations: 386.4 kB / 367.2 MB, free: 4.926 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.002011/0.1282, allocations: 1.314 MB / 368.5 MB, free: 3.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.1289, allocations: 403.3 kB / 368.9 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.1293, allocations: 204.7 kB / 369.1 MB, free: 2.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.1294, allocations: 7.984 kB / 369.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1294, allocations: 38.56 kB / 369.1 MB, free: 2.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.644e-06/0.1294, allocations: 0 / 369.1 MB, free: 2.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001636/0.131, allocations: 0.8015 MB / 369.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/0.1312, allocations: 452.9 kB / 370.4 MB, free: 1.441 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.1317, allocations: 450 kB / 370.8 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.1318, allocations: 37.7 kB / 370.8 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1319, allocations: 236.5 kB / 371.1 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/0.132, allocations: 126.1 kB / 371.2 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.1321, allocations: 12 kB / 371.2 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1322, allocations: 358.7 kB / 371.6 MB, free: 224 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/0.1327, allocations: 163.9 kB / 371.7 MB, free: 60 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2124/0.3451, allocations: 292.3 kB / 372 MB, free: 19.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.3458, allocations: 212.8 kB / 372.2 MB, free: 19.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3458, allocations: 1.031 kB / 372.2 MB, free: 19.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001265/0.3471, allocations: 0.5096 MB / 372.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.3471, allocations: 35.25 kB / 372.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3472, allocations: 0.625 kB / 372.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.3473, allocations: 58.3 kB / 372.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.3478, allocations: 92.81 kB / 372.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.3497, allocations: 2.739 MB / 375.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.3502, allocations: 66.66 kB / 375.7 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.3503, allocations: 12.25 kB / 375.7 MB, free: 16.77 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.0003394/0.3506, allocations: 168.8 kB / 375.9 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/0.3507, allocations: 56.09 kB / 375.9 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.3508, allocations: 57.53 kB / 376 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3508, allocations: 3.125 kB / 376 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3509, allocations: 5.938 kB / 376 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/0.3519, allocations: 0.766 MB / 376.8 MB, free: 16.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.3538, allocations: 1.065 MB / 377.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3538, allocations: 2.906 kB / 377.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.3543, allocations: 100.8 kB / 377.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3543, allocations: 1.375 kB / 377.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.3543, allocations: 9.531 kB / 377.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3543, allocations: 2.078 kB / 378 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3543, allocations: 1.375 kB / 378 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.3558, allocations: 0.7119 MB / 378.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.3559, allocations: 172.5 kB / 378.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.356, allocations: 8.781 kB / 378.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.3564, allocations: 45.78 kB / 378.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.3565, allocations: 24.39 kB / 378.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.3565, allocations: 7.266 kB / 378.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003471/0.3568, allocations: 325.8 kB / 379.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3568, allocations: 0 / 379.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005782/0.3574, allocations: 138 kB / 379.4 MB, free: 15.17 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.001596/0.3591, allocations: 1.269 MB / 380.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.3604, allocations: 0.6831 MB / 381.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3604, allocations: 1.062 kB / 381.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.3609, allocations: 195.4 kB / 381.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007288/0.3616, allocations: 147.3 kB / 381.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005378/0.367, allocations: 3.023 MB / 384.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.3674, allocations: 0.831 MB / 385.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003817/0.3678, allocations: 59.27 kB / 385.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.3681, allocations: 175.4 kB / 385.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3681, allocations: 0 / 385.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.4003, allocations: 12.26 MB / 398 MB, free: 6.246 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.4005, allocations: 205.7 kB / 398.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.58, allocations: 10.55 kB / 398.2 MB, free: 6.008 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