Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",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.001073/0.001073, allocations: 96.19 kB / 16.94 MB, free: 5.98 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.001183/0.001183, allocations: 179.2 kB / 17.82 MB, free: 5.652 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.585/1.585, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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.0004436/0.0004436, allocations: 8 kB / 280.8 MB, free: 3.66 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1099, allocations: 47.58 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003434/0.1134, allocations: 2.428 MB / 330.8 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.1156, allocations: 1.058 MB / 331.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.1158, allocations: 7.938 kB / 331.9 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.1163, allocations: 135.5 kB / 332 MB, free: 368 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.1168, allocations: 195.4 kB / 332.2 MB, free: 172 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.1172, allocations: 115.7 kB / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.1177, allocations: 303.3 kB / 332.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.1179, allocations: 93.58 kB / 332.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.1181, allocations: 143.5 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.1183, allocations: 167.3 kB / 333 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.1184, allocations: 16 kB / 333.1 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1185, allocations: 36 kB / 333.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.1186, allocations: 67.73 kB / 333.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.984e-05/0.1187, allocations: 97.45 kB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.1191, allocations: 323.3 kB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1191, allocations: 8 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1191, allocations: 0 / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1191, allocations: 0 / 333.6 MB, free: 14.82 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001011/0.1201, allocations: 0.6166 MB / 334.2 MB, free: 14.15 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1202, allocations: 12.03 kB / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.1203, allocations: 71 kB / 334.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.1204, allocations: 55.36 kB / 334.3 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.1209, allocations: 307.3 kB / 334.6 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.1209, allocations: 16.56 kB / 334.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.121, allocations: 28 kB / 334.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.1215, allocations: 307 kB / 335 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1215, allocations: 0 / 335 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.1216, allocations: 23.92 kB / 335 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1216, allocations: 8 kB / 335 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.1219, allocations: 178.1 kB / 335.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.1233, allocations: 0.8638 MB / 336 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005415/0.1239, allocations: 263.4 kB / 336.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.1239, allocations: 4.281 kB / 336.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.1243, allocations: 161.5 kB / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.1243, allocations: 0 / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002289/0.1266, allocations: 1.308 MB / 337.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.1267, allocations: 195.9 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.1271, allocations: 336.5 kB / 338.3 MB, free: 9.734 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.1271, allocations: 37.7 kB / 338.3 MB, free: 9.691 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1273, allocations: 192.5 kB / 338.5 MB, free: 9.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1274, allocations: 138 kB / 338.6 MB, free: 9.363 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.1274, allocations: 4 kB / 338.6 MB, free: 9.359 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1276, allocations: 354.8 kB / 339 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.1278, allocations: 92.83 kB / 339.1 MB, free: 8.914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.128, allocations: 177.2 kB / 339.3 MB, free: 8.703 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.1282, allocations: 105.9 kB / 339.4 MB, free: 8.602 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1283, allocations: 4 kB / 339.4 MB, free: 8.598 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006496/0.1289, allocations: 350.6 kB / 339.7 MB, free: 8.246 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1289, allocations: 4 kB / 339.7 MB, free: 8.242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1289, allocations: 0 / 339.7 MB, free: 8.242 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001061/0.1291, allocations: 24.84 kB / 339.7 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.1294, allocations: 95.95 kB / 339.8 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.1306, allocations: 1.304 MB / 341.1 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1308, allocations: 11.98 kB / 341.1 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.1309, allocations: 19.95 kB / 341.2 MB, free: 6.656 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.1311, allocations: 165.8 kB / 341.3 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.1312, allocations: 39.53 kB / 341.4 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/0.1313, allocations: 47.95 kB / 341.4 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1313, allocations: 4 kB / 341.4 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1313, allocations: 0 / 341.4 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000688/0.132, allocations: 0.6532 MB / 342.1 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.1332, allocations: 0.856 MB / 342.9 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1332, allocations: 4 kB / 342.9 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.1335, allocations: 80.03 kB / 343 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1335, allocations: 0 / 343 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.1335, allocations: 19.94 kB / 343 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.1336, allocations: 4 kB / 343 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1336, allocations: 0 / 343 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/0.1344, allocations: 0.5837 MB / 343.6 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.1345, allocations: 136.7 kB / 343.7 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.1346, allocations: 12 kB / 343.8 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1348, allocations: 23.98 kB / 343.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.1349, allocations: 27.92 kB / 343.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.1349, allocations: 12 kB / 343.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002806/0.1352, allocations: 247 kB / 344.1 MB, free: 3.496 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1352, allocations: 0 / 344.1 MB, free: 3.496 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004261/0.1356, allocations: 88 kB / 344.1 MB, free: 3.41 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001915/0.1375, allocations: 1.725 MB / 345.9 MB, free: 1.648 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006729/0.1382, allocations: 373.9 kB / 346.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1383, allocations: 4 kB / 346.2 MB, free: 1.266 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.1386, allocations: 127.8 kB / 346.4 MB, free: 1.141 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.139, allocations: 89.8 kB / 346.5 MB, free: 1.055 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.1429, allocations: 3.078 MB / 349.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.1434, allocations: 0.8236 MB / 350.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.1435, allocations: 50.89 kB / 350.4 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.1437, allocations: 131.4 kB / 350.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1437, allocations: 0 / 350.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.1673, allocations: 8.28 MB / 358.8 MB, free: 4.57 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.1676, allocations: 253.3 kB / 359.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.14, allocations: 0 / 359.1 MB, free: 4.234 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat does not exist to compare? outputFormat=mat