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.001031/0.001031, allocations: 94.05 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.001027/0.001027, allocations: 200.3 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.432/1.432, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004359, allocations: 4 kB / 306.7 MB, free: 1.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 51.49 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004011/0.1309, allocations: 2.502 MB / 360.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.1336, allocations: 0.9791 MB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006258/0.1343, allocations: 11.94 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.1345, allocations: 35.62 kB / 361.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.135, allocations: 123.5 kB / 361.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.1355, allocations: 147.8 kB / 362 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008258/0.1364, allocations: 371.2 kB / 362.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.1367, allocations: 158 kB / 362.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.1371, allocations: 139.3 kB / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.1374, allocations: 139.1 kB / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.1375, allocations: 12 kB / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1376, allocations: 35.92 kB / 362.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.1377, allocations: 63.7 kB / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.1379, allocations: 101.5 kB / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.1386, allocations: 403.2 kB / 363.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1386, allocations: 0 / 363.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1386, allocations: 0 / 363.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1386, allocations: 0 / 363.4 MB, free: 8.562 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.001215/0.1398, allocations: 0.6625 MB / 364 MB, free: 7.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.628e-05/0.1399, allocations: 12.03 kB / 364 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.14, allocations: 74.53 kB / 364.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.1402, allocations: 67.33 kB / 364.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.1408, allocations: 386.6 kB / 364.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.1409, allocations: 33 kB / 364.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.1411, allocations: 39.95 kB / 364.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008042/0.1419, allocations: 487.4 kB / 365.1 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.1419, allocations: 3.938 kB / 365.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.142, allocations: 20 kB / 365.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.142, allocations: 12 kB / 365.1 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005447/0.1425, allocations: 246.2 kB / 365.4 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.1452, allocations: 2.834 MB / 368.2 MB, free: 3.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.1457, allocations: 162.7 kB / 368.4 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.1459, allocations: 89.05 kB / 368.5 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.146, allocations: 38.56 kB / 368.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 4.689e-06/0.146, allocations: 0 / 368.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001724/0.1477, allocations: 0.6365 MB / 369.1 MB, free: 2.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1478, allocations: 51.41 kB / 369.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.1482, allocations: 341.5 kB / 369.5 MB, free: 1.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1482, allocations: 33.64 kB / 369.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.1485, allocations: 299 kB / 369.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.1486, allocations: 67.09 kB / 369.9 MB, free: 1.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.1487, allocations: 8 kB / 369.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.1489, allocations: 354.8 kB / 370.3 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.1491, allocations: 71.86 kB / 370.3 MB, free: 1.141 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.1493, allocations: 207.9 kB / 370.5 MB, free: 0.8672 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.0006388/0.15, allocations: 288.6 kB / 370.8 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.15, allocations: 4 kB / 370.8 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005656/0.1506, allocations: 353.7 kB / 371.2 MB, free: 216 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1506, allocations: 10.34 kB / 371.2 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1506, allocations: 4 kB / 371.2 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.1507, allocations: 40.78 kB / 371.2 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.1511, allocations: 75.91 kB / 371.3 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1992/0.3503, allocations: 1.465 MB / 372.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.3507, allocations: 27.11 kB / 372.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.3507, allocations: 16.66 kB / 372.8 MB, free: 17.8 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.0002408/0.351, allocations: 171.6 kB / 373 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.3511, allocations: 34.67 kB / 373 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.3511, allocations: 39.3 kB / 373 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3511, allocations: 5.875 kB / 373.1 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3511, allocations: 1.531 kB / 373.1 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3512, allocations: 3.5 kB / 373.1 MB, free: 17.68 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 postOpt removeSimpleEquations (simulation): time 0.001047/0.3522, allocations: 0.763 MB / 373.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3522, allocations: 4.766 kB / 373.8 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.3524, allocations: 34.36 kB / 373.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.3525, allocations: 25.58 kB / 373.9 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.3526, allocations: 8.156 kB / 373.9 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008226/0.3534, allocations: 1.338 MB / 375.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3534, allocations: 1.938 kB / 375.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.3539, allocations: 379.4 kB / 375.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.354, allocations: 108.8 kB / 375.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.354, allocations: 5.062 kB / 375.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3542, allocations: 14.66 kB / 375.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.3542, allocations: 17.16 kB / 375.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3543, allocations: 4.688 kB / 375.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002731/0.3545, allocations: 231.8 kB / 376 MB, free: 15.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3545, allocations: 3.719 kB / 376 MB, free: 15.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004878/0.355, allocations: 67.38 kB / 376 MB, free: 15.65 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.0007185/0.3558, allocations: 0.9802 MB / 377 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006037/0.3564, allocations: 325.4 kB / 377.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3564, allocations: 0 / 377.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.3566, allocations: 182.4 kB / 377.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.3569, allocations: 32.94 kB / 377.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.3611, allocations: 5.582 MB / 383.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.3615, allocations: 0.8351 MB / 384 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000229/0.3618, allocations: 37.41 kB / 384 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.362, allocations: 155.3 kB / 384.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.362, allocations: 0 / 384.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.3814, allocations: 6.053 MB / 390.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/0.3817, allocations: 211.7 kB / 390.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.39, allocations: 3.938 kB / 390.4 MB, free: 8.133 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