Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001438, allocations: 110 kB / 17.06 MB, free: 6.023 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.001478/0.001478, allocations: 191 kB / 18 MB, free: 5.105 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.482/1.482, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.001766/0.001766, allocations: 51.92 kB / 327.8 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.123, allocations: 46.63 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005545/0.1285, allocations: 3.046 MB / 377.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1308, allocations: 1.01 MB / 378.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.1311, allocations: 11.94 kB / 378.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.1315, allocations: 95.05 kB / 378.6 MB, free: 408 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.1318, allocations: 95 kB / 378.7 MB, free: 312 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.1325, allocations: 223.6 kB / 378.9 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2179/0.3504, allocations: 0.5334 MB / 379.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005343/0.351, allocations: 223.1 kB / 379.7 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.3514, allocations: 178 kB / 379.9 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.3516, allocations: 175.5 kB / 380 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.735e-05/0.3517, allocations: 41.06 kB / 380.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.3519, allocations: 52.3 kB / 380.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.352, allocations: 91.05 kB / 380.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.3522, allocations: 223.6 kB / 380.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.353, allocations: 0.5863 MB / 381 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.353, allocations: 0 / 381 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.353, allocations: 0.6875 kB / 381 MB, free: 9.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.353, allocations: 0 / 381 MB, free: 9.52 MB / 318.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.0009272/0.3539, allocations: 0.7368 MB / 381.8 MB, free: 9.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.354, allocations: 9.188 kB / 381.8 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.3541, allocations: 57.28 kB / 381.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007257/0.3549, allocations: 424.6 kB / 382.2 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.3549, allocations: 32 kB / 382.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.355, allocations: 39.16 kB / 382.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/0.3559, allocations: 494 kB / 382.8 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.356, allocations: 9 kB / 382.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.356, allocations: 16.33 kB / 382.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.356, allocations: 11.78 kB / 382.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.3566, allocations: 247.4 kB / 383.1 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.3585, allocations: 2.819 MB / 385.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.3589, allocations: 161.3 kB / 386 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3591, allocations: 69.95 kB / 386.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.3592, allocations: 87.03 kB / 386.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3592, allocations: 32.36 kB / 386.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.916e-06/0.3592, allocations: 3.891 kB / 386.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00125/0.3605, allocations: 0.6247 MB / 386.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.3605, allocations: 53.97 kB / 386.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.3609, allocations: 349 kB / 387.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.361, allocations: 27.62 kB / 387.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.3612, allocations: 302.2 kB / 387.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.3612, allocations: 70.67 kB / 387.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.3613, allocations: 69.72 kB / 387.7 MB, free: 4.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.3614, allocations: 346.7 kB / 388.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.3616, allocations: 64.89 kB / 388.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.3618, allocations: 215.6 kB / 388.3 MB, free: 4.414 MB / 318.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.0009119/0.3627, allocations: 0.5314 MB / 388.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.3627, allocations: 1.688 kB / 388.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000628/0.3633, allocations: 356.3 kB / 389.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3634, allocations: 12.44 kB / 389.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3634, allocations: 5.625 kB / 389.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.3636, allocations: 36.05 kB / 389.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.3638, allocations: 74.28 kB / 389.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.3648, allocations: 1.635 MB / 391 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.365, allocations: 11.47 kB / 391 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.3651, allocations: 22.09 kB / 391 MB, free: 2.238 MB / 318.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.0001983/0.3653, allocations: 172.8 kB / 391.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.3653, allocations: 31.94 kB / 391.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.3654, allocations: 41.5 kB / 391.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3654, allocations: 6.094 kB / 391.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.807e-05/0.3654, allocations: 1.125 kB / 391.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3655, allocations: 1.781 kB / 391.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008979/0.3664, allocations: 0.715 MB / 392 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3664, allocations: 1.5 kB / 392 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.3666, allocations: 34.62 kB / 392 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-05/0.3666, allocations: 22.75 kB / 392 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3667, allocations: 7.047 kB / 392 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00066/0.3673, allocations: 1.43 MB / 393.5 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3673, allocations: 1.719 kB / 393.5 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.3679, allocations: 369.4 kB / 393.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.368, allocations: 106.2 kB / 393.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.368, allocations: 6.781 kB / 393.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3681, allocations: 3.531 kB / 393.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.3682, allocations: 17 kB / 394 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3682, allocations: 4.984 kB / 394 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002585/0.3685, allocations: 235.6 kB / 394.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3685, allocations: 1.125 kB / 394.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004523/0.3689, allocations: 66.62 kB / 394.3 MB, free: 15.58 MB / 334.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.0001298/0.3691, allocations: 99.73 kB / 394.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.3697, allocations: 317.4 kB / 394.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.3697, allocations: 0 / 394.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.37, allocations: 186.7 kB / 394.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3703, allocations: 52.02 kB / 394.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.372, allocations: 0.8364 MB / 395.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.3725, allocations: 0.812 MB / 396.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.3726, allocations: 38.44 kB / 396.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.769e-05/0.3727, allocations: 34.77 kB / 396.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3727, allocations: 4 kB / 396.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Templates: time 0.008056/0.3808, allocations: 2.77 MB / 399.4 MB, free: 13.61 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1)