Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001256/0.001256, allocations: 88.55 kB / 16.31 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 180.8 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.2 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002549, allocations: 10.19 kB / 300.9 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09621, allocations: 50.42 MB / 351.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003315/0.09956, allocations: 3.163 MB / 354.5 MB, free: 8.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1009, allocations: 0.8687 MB / 355.4 MB, free: 7.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.1011, allocations: 4 kB / 355.4 MB, free: 7.676 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.1013, allocations: 83.38 kB / 355.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.1017, allocations: 170.7 kB / 355.6 MB, free: 7.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1019, allocations: 87.89 kB / 355.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.1025, allocations: 0.5989 MB / 356.3 MB, free: 6.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.1027, allocations: 161.9 kB / 356.5 MB, free: 6.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.103, allocations: 223.1 kB / 356.7 MB, free: 6.359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.1033, allocations: 266.9 kB / 356.9 MB, free: 6.098 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.1033, allocations: 36 kB / 357 MB, free: 6.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.493e-05/0.1034, allocations: 36 kB / 357 MB, free: 6.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.1035, allocations: 91.61 kB / 357.1 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1036, allocations: 141.4 kB / 357.2 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.1041, allocations: 0.5024 MB / 357.7 MB, free: 5.289 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1041, allocations: 4 kB / 357.7 MB, free: 5.285 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1041, allocations: 0 / 357.7 MB, free: 5.285 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1041, allocations: 0 / 357.7 MB, free: 5.285 MB / 286.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.1054, allocations: 0.8155 MB / 358.6 MB, free: 4.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1054, allocations: 11.97 kB / 358.6 MB, free: 4.398 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.1056, allocations: 75.09 kB / 358.6 MB, free: 4.316 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.1058, allocations: 67.25 kB / 358.7 MB, free: 4.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.1064, allocations: 425.6 kB / 359.1 MB, free: 3.797 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.1066, allocations: 82.33 kB / 359.2 MB, free: 3.711 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.1067, allocations: 35.91 kB / 359.2 MB, free: 3.676 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008338/0.1075, allocations: 0.5086 MB / 359.7 MB, free: 3.113 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1076, allocations: 3.953 kB / 359.8 MB, free: 3.109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.1076, allocations: 16 kB / 359.8 MB, free: 3.094 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1076, allocations: 8 kB / 359.8 MB, free: 3.086 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008588/0.1085, allocations: 382.4 kB / 360.1 MB, free: 2.711 MB / 286.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.001968/0.1105, allocations: 1.314 MB / 361.5 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.1112, allocations: 405.7 kB / 361.9 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.1116, allocations: 204.7 kB / 362.1 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.1117, allocations: 11.98 kB / 362.1 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.1117, allocations: 38.56 kB / 362.1 MB, free: 0.625 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.1117, allocations: 0 / 362.1 MB, free: 0.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001647/0.1134, allocations: 0.79 MB / 362.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002205/0.1136, allocations: 449 kB / 363.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.1141, allocations: 457.8 kB / 363.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.1142, allocations: 33.7 kB / 363.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.1144, allocations: 244.4 kB / 364.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.1145, allocations: 122.2 kB / 364.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.1145, allocations: 8 kB / 364.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.1147, allocations: 354.8 kB / 364.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.1151, allocations: 163.9 kB / 364.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.1157, allocations: 306.8 kB / 365 MB, free: 13.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.1161, allocations: 211.1 kB / 365.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1161, allocations: 0 / 365.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001048/0.1172, allocations: 0.5178 MB / 365.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.1172, allocations: 33.7 kB / 365.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1172, allocations: 0 / 365.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.1174, allocations: 49.69 kB / 365.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.1178, allocations: 99.88 kB / 365.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.1203, allocations: 2.736 MB / 368.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.1208, allocations: 71.59 kB / 368.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.1208, allocations: 8 kB / 368.7 MB, free: 9.477 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.0002881/0.1211, allocations: 178.4 kB / 368.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.631e-05/0.1212, allocations: 55.42 kB / 368.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1213, allocations: 52.77 kB / 369 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1213, allocations: 4 kB / 369 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.1213, allocations: 0 / 369 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/0.1223, allocations: 0.7751 MB / 369.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.124, allocations: 1.06 MB / 370.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.124, allocations: 4 kB / 370.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/0.1245, allocations: 103.8 kB / 370.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1245, allocations: 4 kB / 370.9 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1245, allocations: 4 kB / 370.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1245, allocations: 7.938 kB / 370.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1245, allocations: 0 / 370.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.1258, allocations: 0.7056 MB / 371.7 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.126, allocations: 172.3 kB / 371.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.1261, allocations: 15.98 kB / 371.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.1265, allocations: 44.03 kB / 371.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.1266, allocations: 27.83 kB / 371.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1266, allocations: 4 kB / 371.9 MB, free: 6.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003627/0.127, allocations: 323.1 kB / 372.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.127, allocations: 0 / 372.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004591/0.1274, allocations: 143.8 kB / 372.4 MB, free: 5.602 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.001692/0.1291, allocations: 1.27 MB / 373.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.1304, allocations: 0.6881 MB / 374.3 MB, free: 3.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1304, allocations: 0 / 374.3 MB, free: 3.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.1308, allocations: 203.8 kB / 374.5 MB, free: 3.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.1315, allocations: 129.8 kB / 374.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/0.1363, allocations: 3.024 MB / 377.7 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1368, allocations: 0.8278 MB / 378.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003133/0.1371, allocations: 68.28 kB / 378.6 MB, free: 15.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.1374, allocations: 175.4 kB / 378.7 MB, free: 15.07 MB / 318.1 MB Notification: Performance of SimCode: time 1.263e-06/0.1374, allocations: 0 / 378.7 MB, free: 15.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.1648, allocations: 12.25 MB / 391 MB, free: 3.141 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.165, allocations: 217.1 kB / 391.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.374, allocations: 0 / 391.2 MB, free: 2.898 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat