Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001089/0.00109, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001095/0.001095, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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.0008354/0.0008356, allocations: 16 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.305, allocations: 47.58 MB / 326.4 MB, free: 1.621 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004025/0.3091, allocations: 2.492 MB / 328.9 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003519/0.3127, allocations: 0.9644 MB / 329.9 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005801/0.3133, allocations: 10.69 kB / 329.9 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.3135, allocations: 37.75 kB / 329.9 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005176/0.314, allocations: 123.1 kB / 330.1 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007588/0.3148, allocations: 146.5 kB / 330.2 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007905/0.3156, allocations: 369.3 kB / 330.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/0.316, allocations: 168.8 kB / 330.7 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.3163, allocations: 124.9 kB / 330.9 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.3166, allocations: 144.8 kB / 331 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.3167, allocations: 13.5 kB / 331 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3168, allocations: 27.14 kB / 331 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.3169, allocations: 64.84 kB / 331.1 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.3171, allocations: 105 kB / 331.2 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007277/0.3178, allocations: 401.2 kB / 331.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3179, allocations: 0 / 331.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3179, allocations: 0 / 331.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.3179, allocations: 0 / 331.6 MB, free: 13.69 MB / 270.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.001565/0.3195, allocations: 0.6518 MB / 332.2 MB, free: 13.1 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.3196, allocations: 9.406 kB / 332.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.3197, allocations: 58.45 kB / 332.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008762/0.3206, allocations: 394 kB / 332.7 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.3207, allocations: 33.02 kB / 332.7 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3208, allocations: 41.5 kB / 332.8 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.3221, allocations: 486.5 kB / 333.2 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.3222, allocations: 10.36 kB / 333.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.3223, allocations: 16.78 kB / 333.3 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.3223, allocations: 11.91 kB / 333.3 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009532/0.3233, allocations: 248.7 kB / 333.5 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/0.3276, allocations: 2.825 MB / 336.4 MB, free: 9.406 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.3284, allocations: 166.7 kB / 336.5 MB, free: 9.234 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.3286, allocations: 85.11 kB / 336.6 MB, free: 9.133 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.3287, allocations: 38.52 kB / 336.6 MB, free: 9.086 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 3.005e-06/0.3287, allocations: 0 / 336.6 MB, free: 9.086 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.002317/0.331, allocations: 0.6224 MB / 337.3 MB, free: 8.406 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.3311, allocations: 63.31 kB / 337.3 MB, free: 8.332 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/0.3317, allocations: 337.6 kB / 337.6 MB, free: 7.992 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.3318, allocations: 29.7 kB / 337.7 MB, free: 7.957 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.3321, allocations: 310.8 kB / 338 MB, free: 7.648 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.3322, allocations: 63.09 kB / 338 MB, free: 7.586 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.3322, allocations: 4 kB / 338 MB, free: 7.582 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3324, allocations: 350.8 kB / 338.4 MB, free: 7.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.3327, allocations: 71.75 kB / 338.5 MB, free: 7.16 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.3331, allocations: 223.8 kB / 338.7 MB, free: 6.871 MB / 270.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.001082/0.3342, allocations: 273.6 kB / 338.9 MB, free: 6.586 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3342, allocations: 0 / 338.9 MB, free: 6.586 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001101/0.3354, allocations: 366.1 kB / 339.3 MB, free: 6.219 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.3354, allocations: 10.95 kB / 339.3 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.3354, allocations: 8 kB / 339.3 MB, free: 6.203 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.3357, allocations: 32.84 kB / 339.4 MB, free: 6.168 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.3361, allocations: 79.84 kB / 339.4 MB, free: 6.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.3383, allocations: 1.464 MB / 340.9 MB, free: 4.488 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.3387, allocations: 27.92 kB / 340.9 MB, free: 4.461 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.3388, allocations: 15.94 kB / 340.9 MB, free: 4.445 MB / 270.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.0004093/0.3392, allocations: 174.2 kB / 341.1 MB, free: 4.266 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.3393, allocations: 39.52 kB / 341.1 MB, free: 4.227 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.3395, allocations: 39.55 kB / 341.2 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3395, allocations: 0 / 341.2 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.3395, allocations: 0 / 341.2 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.3395, allocations: 4 kB / 341.2 MB, free: 4.184 MB / 270.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.001758/0.3413, allocations: 0.772 MB / 342 MB, free: 3.324 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3413, allocations: 0 / 342 MB, free: 3.324 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.3417, allocations: 31.98 kB / 342 MB, free: 3.293 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/0.3419, allocations: 28.84 kB / 342 MB, free: 3.262 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.3419, allocations: 4 kB / 342 MB, free: 3.258 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.3435, allocations: 1.335 MB / 343.4 MB, free: 1.789 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3436, allocations: 0 / 343.4 MB, free: 1.789 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008994/0.3445, allocations: 379.8 kB / 343.7 MB, free: 1.391 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3446, allocations: 108.6 kB / 343.8 MB, free: 1.266 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.3447, allocations: 11.89 kB / 343.8 MB, free: 1.254 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.345, allocations: 19.97 kB / 343.9 MB, free: 1.234 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.3451, allocations: 16.06 kB / 343.9 MB, free: 1.219 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.3451, allocations: 4 kB / 343.9 MB, free: 1.215 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004249/0.3455, allocations: 235.1 kB / 344.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3456, allocations: 0 / 344.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0008147/0.3464, allocations: 68 kB / 344.2 MB, free: 0.918 MB / 270.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.0001849/0.3466, allocations: 107 kB / 344.3 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009273/0.3475, allocations: 315.7 kB / 344.6 MB, free: 492 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3476, allocations: 0 / 344.6 MB, free: 492 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.348, allocations: 186.7 kB / 344.8 MB, free: 292 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.3484, allocations: 29.56 kB / 344.8 MB, free: 264 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.351, allocations: 1.04 MB / 345.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.3517, allocations: 0.834 MB / 346.7 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002488/0.352, allocations: 35.27 kB / 346.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.3521, allocations: 31.42 kB / 346.7 MB, free: 14.26 MB / 286.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3521, allocations: 0 / 346.7 MB, free: 14.26 MB / 286.1 MB Notification: Performance of Templates: time 0.01154/0.3637, allocations: 2.46 MB / 349.2 MB, free: 11.8 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) Environment - environmentSimulation: