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.001352/0.001353, allocations: 113.9 kB / 17.07 MB, free: 6 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.001397/0.001397, allocations: 190.9 kB / 18 MB, free: 5.082 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.469/1.469, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001164/0.001164, allocations: 47.92 kB / 327.8 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1058, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004962/0.1108, allocations: 3.046 MB / 377.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1134, allocations: 1.018 MB / 378.5 MB, free: 500 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/0.1137, allocations: 11.94 kB / 378.5 MB, free: 488 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.114, allocations: 91.05 kB / 378.6 MB, free: 396 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.1142, allocations: 99.02 kB / 378.7 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/0.1148, allocations: 211.6 kB / 378.9 MB, free: 84 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.234/0.3489, allocations: 0.5387 MB / 379.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006163/0.3495, allocations: 223.9 kB / 379.7 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004318/0.35, allocations: 178.3 kB / 379.9 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.3503, allocations: 180.3 kB / 380 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.411e-05/0.3504, allocations: 37.94 kB / 380.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.3506, allocations: 51.45 kB / 380.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.3507, allocations: 94.17 kB / 380.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.3509, allocations: 222.1 kB / 380.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.352, allocations: 0.5826 MB / 381 MB, free: 9.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.352, allocations: 0 / 381 MB, free: 9.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.352, allocations: 0.5 kB / 381 MB, free: 9.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.352, allocations: 4.969 kB / 381 MB, free: 9.488 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.00139/0.3534, allocations: 0.7358 MB / 381.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.3535, allocations: 9.625 kB / 381.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.3536, allocations: 57 kB / 381.8 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009905/0.3546, allocations: 425.7 kB / 382.2 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.3547, allocations: 29.38 kB / 382.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.3548, allocations: 39.61 kB / 382.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3559, allocations: 490.5 kB / 382.8 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.3559, allocations: 12.94 kB / 382.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/0.356, allocations: 16.41 kB / 382.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.356, allocations: 12.06 kB / 382.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007057/0.3567, allocations: 244.2 kB / 383.1 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.3595, allocations: 2.82 MB / 385.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/0.3603, allocations: 164.6 kB / 386 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.3605, allocations: 69.89 kB / 386.1 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.3607, allocations: 82.94 kB / 386.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.3607, allocations: 37.64 kB / 386.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 3.737e-06/0.3608, allocations: 0 / 386.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00175/0.3625, allocations: 0.6298 MB / 386.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.3626, allocations: 52.91 kB / 386.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.3631, allocations: 342.8 kB / 387.2 MB, free: 5.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3631, allocations: 29.7 kB / 387.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.3633, allocations: 300.9 kB / 387.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.3634, allocations: 72.41 kB / 387.6 MB, free: 5.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3635, allocations: 66.66 kB / 387.7 MB, free: 4.969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3636, allocations: 349.5 kB / 388 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.3639, allocations: 64.58 kB / 388.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.3642, allocations: 218.8 kB / 388.3 MB, free: 4.398 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.001191/0.3654, allocations: 0.5242 MB / 388.9 MB, free: 4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3654, allocations: 5.062 kB / 388.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008063/0.3662, allocations: 353.5 kB / 389.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.3662, allocations: 12.78 kB / 389.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3663, allocations: 5.812 kB / 389.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.3664, allocations: 39.92 kB / 389.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.3668, allocations: 73.27 kB / 389.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.3681, allocations: 1.635 MB / 391 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.3684, allocations: 11.58 kB / 391 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.3684, allocations: 19.36 kB / 391 MB, free: 2.23 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.0002832/0.3687, allocations: 170.1 kB / 391.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.303e-05/0.3688, allocations: 31.59 kB / 391.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.718e-05/0.3689, allocations: 38.67 kB / 391.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.369, allocations: 6.25 kB / 391.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/0.369, allocations: 1.062 kB / 391.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.369, allocations: 0.75 kB / 391.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.3703, allocations: 0.7211 MB / 392 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3703, allocations: 1.125 kB / 392 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.3706, allocations: 35.38 kB / 392 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.3707, allocations: 28.44 kB / 392 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3707, allocations: 1.125 kB / 392 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009003/0.3716, allocations: 1.431 MB / 393.5 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3716, allocations: 1.75 kB / 393.5 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.3726, allocations: 367.4 kB / 393.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.3727, allocations: 106.2 kB / 393.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.3728, allocations: 5.875 kB / 393.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3729, allocations: 3.172 kB / 393.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.373, allocations: 15.11 kB / 393.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.3731, allocations: 4.438 kB / 393.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005143/0.3736, allocations: 236.3 kB / 394.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3736, allocations: 7.094 kB / 394.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008546/0.3745, allocations: 67.91 kB / 394.3 MB, free: 15.57 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.0001904/0.3747, allocations: 94.36 kB / 394.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3757, allocations: 318.9 kB / 394.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3757, allocations: 3.938 kB / 394.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.376, allocations: 181 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.0004238/0.3764, allocations: 49.58 kB / 394.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.3785, allocations: 0.8434 MB / 395.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.379, allocations: 0.8131 MB / 396.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.3792, allocations: 38.14 kB / 396.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.3793, allocations: 29.72 kB / 396.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3793, allocations: 0 / 396.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Templates: time 0.00889/0.3882, allocations: 2.779 MB / 399.4 MB, free: 13.59 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)