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.0007583/0.0007584, allocations: 96.64 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008728/0.0008728, allocations: 206.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 227.7 MB / 246.8 MB, free: 9.641 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002049/0.0002049, allocations: 8.188 kB / 307.8 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07971/0.07993, allocations: 51.52 MB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003079/0.08304, allocations: 2.715 MB / 362.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.08481, allocations: 1.01 MB / 363.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.08518, allocations: 11.88 kB / 363.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.08544, allocations: 71.31 kB / 363.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.08574, allocations: 87.31 kB / 363.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.08628, allocations: 195.8 kB / 363.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.08689, allocations: 0.5097 MB / 363.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.08723, allocations: 202.2 kB / 364.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.08747, allocations: 143.3 kB / 364.3 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.08764, allocations: 151 kB / 364.4 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.08768, allocations: 16 kB / 364.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.08779, allocations: 28 kB / 364.5 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.08785, allocations: 63.59 kB / 364.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.08803, allocations: 228.4 kB / 364.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.08845, allocations: 0.4944 MB / 365.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.08846, allocations: 0 / 365.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.08847, allocations: 0 / 365.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.08848, allocations: 4 kB / 365.3 MB, free: 7.031 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.0008216/0.08931, allocations: 0.6588 MB / 365.9 MB, free: 6.324 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.08936, allocations: 8.031 kB / 365.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.865e-05/0.08945, allocations: 78.7 kB / 366 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.08963, allocations: 71.83 kB / 366.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.09011, allocations: 406.4 kB / 366.5 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.09016, allocations: 36.92 kB / 366.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.09022, allocations: 36 kB / 366.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.09093, allocations: 491.4 kB / 367 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.09096, allocations: 11.84 kB / 367 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.091, allocations: 19.94 kB / 367 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.09101, allocations: 12 kB / 367.1 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.0915, allocations: 258.1 kB / 367.3 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.09346, allocations: 2.823 MB / 370.1 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.09385, allocations: 158.7 kB / 370.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.09398, allocations: 72.83 kB / 370.4 MB, free: 1.594 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.09411, allocations: 81.11 kB / 370.4 MB, free: 1.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.09415, allocations: 42.5 kB / 370.5 MB, free: 1.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.09416, allocations: 4 kB / 370.5 MB, free: 1.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001142/0.0953, allocations: 0.6326 MB / 371.1 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.09535, allocations: 55.41 kB / 371.2 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.09566, allocations: 353.5 kB / 371.5 MB, free: 336 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.09569, allocations: 29.7 kB / 371.5 MB, free: 300 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1367/0.2324, allocations: 303.7 kB / 371.8 MB, free: 19.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.2325, allocations: 57.84 kB / 371.9 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.2326, allocations: 34.23 kB / 371.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.2327, allocations: 349.6 kB / 372.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.2328, allocations: 70.97 kB / 372.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.233, allocations: 219.6 kB / 372.6 MB, free: 18.71 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: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008613/0.2339, allocations: 0.5286 MB / 373.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2339, allocations: 2.062 kB / 373.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000572/0.2345, allocations: 362.6 kB / 373.4 MB, free: 18.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2345, allocations: 8.094 kB / 373.4 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2345, allocations: 6.656 kB / 373.5 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.2347, allocations: 34.84 kB / 373.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.2349, allocations: 78.62 kB / 373.6 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008378/0.2358, allocations: 1.46 MB / 375 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.236, allocations: 31.8 kB / 375.1 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.236, allocations: 14.94 kB / 375.1 MB, free: 16.99 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: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.2361, allocations: 172.8 kB / 375.2 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.2362, allocations: 40.25 kB / 375.3 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.2363, allocations: 38.62 kB / 375.3 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2363, allocations: 2.25 kB / 375.3 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2363, allocations: 5.125 kB / 375.3 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2363, allocations: 5.016 kB / 375.3 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000894/0.2372, allocations: 0.7123 MB / 376 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2372, allocations: 0.8125 kB / 376 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.2374, allocations: 41.62 kB / 376.1 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-05/0.2375, allocations: 24.38 kB / 376.1 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2375, allocations: 5.578 kB / 376.1 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000617/0.2381, allocations: 1.332 MB / 377.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2381, allocations: 1.297 kB / 377.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.2386, allocations: 369.6 kB / 377.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.2386, allocations: 102.8 kB / 377.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2386, allocations: 9.219 kB / 377.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.2388, allocations: 18.88 kB / 377.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.2388, allocations: 10.88 kB / 377.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.2388, allocations: 7.734 kB / 378 MB, free: 14.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002165/0.239, allocations: 238.2 kB / 378.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2391, allocations: 0.7812 kB / 378.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000416/0.2395, allocations: 70.22 kB / 378.3 MB, free: 14.82 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006059/0.2401, allocations: 0.9046 MB / 379.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004476/0.2405, allocations: 319.2 kB / 379.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2406, allocations: 4 kB / 379.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.2407, allocations: 185.6 kB / 379.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.2411, allocations: 38.86 kB / 379.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.2444, allocations: 3.621 MB / 383.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.2446, allocations: 0.8126 MB / 384.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.2447, allocations: 38.34 kB / 384.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.2449, allocations: 157.4 kB / 384.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2449, allocations: 4 kB / 384.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.2604, allocations: 5.77 MB / 390.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.2606, allocations: 229.4 kB / 390.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.071, allocations: 4.906 kB / 390.3 MB, free: 9.105 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/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