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.001105/0.001105, allocations: 111.6 kB / 17.06 MB, free: 6.016 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.001161/0.001161, allocations: 195.9 kB / 18 MB, free: 5.094 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.517/1.517, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001347/0.001347, allocations: 55.92 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1074, allocations: 46.61 MB / 374.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004875/0.1123, allocations: 3.061 MB / 377.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.1149, allocations: 1.01 MB / 378.5 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/0.1154, allocations: 11.94 kB / 378.5 MB, free: 500 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.1159, allocations: 95.05 kB / 378.6 MB, free: 404 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.1163, allocations: 95.02 kB / 378.7 MB, free: 308 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.117, allocations: 219.6 kB / 378.9 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2208/0.3379, allocations: 0.5367 MB / 379.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005634/0.3385, allocations: 220.2 kB / 379.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.339, allocations: 177 kB / 379.9 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.3393, allocations: 181.5 kB / 380 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.72e-05/0.3394, allocations: 36.47 kB / 380.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.3396, allocations: 49.39 kB / 380.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.597e-05/0.3397, allocations: 86.55 kB / 380.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.34, allocations: 225.8 kB / 380.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.341, allocations: 0.5921 MB / 381 MB, free: 9.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.341, allocations: 2 kB / 381 MB, free: 9.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.341, allocations: 0.5312 kB / 381 MB, free: 9.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.3411, allocations: 0 / 381 MB, free: 9.504 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.001418/0.3425, allocations: 0.7502 MB / 381.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3426, allocations: 9.625 kB / 381.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.3427, allocations: 60.81 kB / 381.8 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009148/0.3436, allocations: 425.8 kB / 382.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.3437, allocations: 31.28 kB / 382.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.3438, allocations: 41.27 kB / 382.3 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3448, allocations: 493.6 kB / 382.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.3449, allocations: 2.906 kB / 382.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.3449, allocations: 17.56 kB / 382.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.345, allocations: 11.34 kB / 382.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000788/0.3458, allocations: 245.5 kB / 383.1 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.3484, allocations: 2.825 MB / 385.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006203/0.3491, allocations: 168.6 kB / 386.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.3493, allocations: 70.45 kB / 386.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.3495, allocations: 83.09 kB / 386.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.3495, allocations: 32.27 kB / 386.3 MB, free: 6.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 4.268e-06/0.3495, allocations: 0 / 386.3 MB, free: 6.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001771/0.3513, allocations: 0.6344 MB / 386.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.3514, allocations: 54.27 kB / 386.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.3519, allocations: 349.5 kB / 387.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3519, allocations: 25.7 kB / 387.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.3522, allocations: 305.2 kB / 387.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.3523, allocations: 68.03 kB / 387.7 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.3524, allocations: 74.91 kB / 387.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3526, allocations: 346.3 kB / 388.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.3527, allocations: 64.56 kB / 388.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.3531, allocations: 222.5 kB / 388.4 MB, free: 4.363 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.001211/0.3543, allocations: 0.5222 MB / 388.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3543, allocations: 2.156 kB / 388.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008034/0.3551, allocations: 357 kB / 389.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.3552, allocations: 11 kB / 389.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.3552, allocations: 6.672 kB / 389.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.3554, allocations: 36.11 kB / 389.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.3558, allocations: 74.34 kB / 389.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.3572, allocations: 1.641 MB / 391 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.3575, allocations: 11.69 kB / 391 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.3575, allocations: 18.75 kB / 391 MB, free: 2.195 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.0002843/0.3578, allocations: 175.9 kB / 391.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.3579, allocations: 36.11 kB / 391.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.343e-05/0.358, allocations: 38.25 kB / 391.3 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.358, allocations: 6.188 kB / 391.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.3581, allocations: 1.125 kB / 391.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3581, allocations: 0.8438 kB / 391.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.3594, allocations: 0.7134 MB / 392 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.3594, allocations: 5.156 kB / 392 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.3596, allocations: 35.84 kB / 392 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.3597, allocations: 23.34 kB / 392.1 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3598, allocations: 5.922 kB / 392.1 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008785/0.3607, allocations: 1.435 MB / 393.5 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3607, allocations: 1.766 kB / 393.5 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000669/0.3614, allocations: 372.6 kB / 393.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.3614, allocations: 106.6 kB / 394 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.3615, allocations: 1.719 kB / 394 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3616, allocations: 8.734 kB / 394 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.3616, allocations: 14.31 kB / 394 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3617, allocations: 4.156 kB / 394 MB, free: 15.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000249/0.3619, allocations: 237.2 kB / 394.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3619, allocations: 0 / 394.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004418/0.3624, allocations: 67.31 kB / 394.3 MB, free: 15.52 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.000109/0.3625, allocations: 99.91 kB / 394.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006189/0.3631, allocations: 317 kB / 394.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3631, allocations: 3.938 kB / 394.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.3634, allocations: 183.3 kB / 394.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3637, allocations: 39.78 kB / 394.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.3653, allocations: 0.8642 MB / 395.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.3657, allocations: 0.8127 MB / 396.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.3659, allocations: 38.19 kB / 396.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.366, allocations: 33.55 kB / 396.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of SimCode: time 1.553e-06/0.366, allocations: 4 kB / 396.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Templates: time 0.008647/0.3746, allocations: 2.77 MB / 399.5 MB, free: 13.54 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)