Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007637/0.0007637, allocations: 97.89 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008524/0.0008525, allocations: 198.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002698, allocations: 4 kB / 306.8 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 51.5 MB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003214/0.1321, allocations: 2.588 MB / 360.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.1339, allocations: 0.9517 MB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.1341, allocations: 11.88 kB / 361.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.1344, allocations: 67.42 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1345, allocations: 83.25 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.135, allocations: 139.8 kB / 362.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.1355, allocations: 490 kB / 362.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.1358, allocations: 158 kB / 362.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.1361, allocations: 135.4 kB / 362.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.1363, allocations: 139.1 kB / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.1363, allocations: 12 kB / 363.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1364, allocations: 31.98 kB / 363.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.1365, allocations: 59.64 kB / 363.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.1366, allocations: 109.5 kB / 363.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.137, allocations: 411.1 kB / 363.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.137, allocations: 4 kB / 363.7 MB, free: 8.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.137, allocations: 0 / 363.7 MB, free: 8.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.137, allocations: 0 / 363.7 MB, free: 8.355 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009068/0.1379, allocations: 0.6586 MB / 364.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.138, allocations: 8.031 kB / 364.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.111e-05/0.1381, allocations: 78.53 kB / 364.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.1383, allocations: 71.33 kB / 364.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.1388, allocations: 390.5 kB / 364.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.1389, allocations: 33 kB / 364.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.1389, allocations: 43.95 kB / 364.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007144/0.1397, allocations: 487.4 kB / 365.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1397, allocations: 7.938 kB / 365.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.1397, allocations: 16 kB / 365.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.1397, allocations: 15.98 kB / 365.4 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.1402, allocations: 250.2 kB / 365.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.1425, allocations: 2.827 MB / 368.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.143, allocations: 158.7 kB / 368.7 MB, free: 3.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1432, allocations: 68.83 kB / 368.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.1433, allocations: 97.05 kB / 368.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1434, allocations: 34.52 kB / 368.9 MB, free: 2.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.475e-06/0.1434, allocations: 0 / 368.9 MB, free: 2.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001295/0.1447, allocations: 0.6301 MB / 369.5 MB, free: 2.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1447, allocations: 51.41 kB / 369.5 MB, free: 2.039 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.1451, allocations: 341.5 kB / 369.9 MB, free: 1.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.1452, allocations: 33.7 kB / 369.9 MB, free: 1.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.1454, allocations: 295 kB / 370.2 MB, free: 1.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.1455, allocations: 67.08 kB / 370.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.1455, allocations: 8 kB / 370.3 MB, free: 1.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.1457, allocations: 350.8 kB / 370.6 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1459, allocations: 79.8 kB / 370.7 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.1461, allocations: 215.9 kB / 370.9 MB, free: 0.5781 MB / 302.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/0.1467, allocations: 280 kB / 371.2 MB, free: 296 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1467, allocations: 0 / 371.2 MB, free: 296 kB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.2147/0.3614, allocations: 357.6 kB / 371.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.3615, allocations: 8.188 kB / 371.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3615, allocations: 5.578 kB / 371.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.3617, allocations: 40.97 kB / 371.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.362, allocations: 74.38 kB / 371.7 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.3632, allocations: 1.469 MB / 373.1 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.3635, allocations: 23.42 kB / 373.1 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.3635, allocations: 17.97 kB / 373.2 MB, free: 17.73 MB / 302.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.3637, allocations: 176.1 kB / 373.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.3638, allocations: 33.72 kB / 373.4 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/0.3638, allocations: 39.09 kB / 373.4 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3639, allocations: 3.375 kB / 373.4 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3639, allocations: 0.5312 kB / 373.4 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3639, allocations: 6.156 kB / 373.4 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.3649, allocations: 0.7102 MB / 374.1 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3649, allocations: 1.125 kB / 374.1 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.3651, allocations: 37.28 kB / 374.2 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.286e-05/0.3652, allocations: 23.91 kB / 374.2 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3652, allocations: 7.406 kB / 374.2 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006848/0.3659, allocations: 1.329 MB / 375.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3659, allocations: 1.156 kB / 375.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.3664, allocations: 375.1 kB / 375.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.3665, allocations: 105.7 kB / 376 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.3665, allocations: 4.438 kB / 376 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.3666, allocations: 15.44 kB / 376 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.3667, allocations: 14.11 kB / 376 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.3667, allocations: 3.375 kB / 376 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003026/0.367, allocations: 231.6 kB / 376.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.367, allocations: 0 / 376.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.3675, allocations: 72.14 kB / 376.3 MB, free: 15.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000716/0.3682, allocations: 0.9015 MB / 377.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000564/0.3688, allocations: 328.9 kB / 377.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3688, allocations: 0 / 377.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.3691, allocations: 180.2 kB / 377.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.3694, allocations: 44.91 kB / 377.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.3728, allocations: 2.273 MB / 380 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3732, allocations: 0.8131 MB / 380.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.3733, allocations: 37.91 kB / 380.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3735, allocations: 156.1 kB / 381 MB, free: 12.63 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3735, allocations: 0 / 381 MB, free: 12.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.3954, allocations: 6.094 MB / 387.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.3957, allocations: 218.2 kB / 387.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.421, allocations: 0 / 387.3 MB, free: 11.48 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat