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.001058/0.001058, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.595/1.595, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001225/0.001225, allocations: 51.94 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2159, allocations: 46.63 MB / 325.3 MB, free: 1.984 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003853/0.2198, allocations: 3.047 MB / 328.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.2217, allocations: 1.005 MB / 329.4 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.2219, allocations: 11.94 kB / 329.4 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.2222, allocations: 94.05 kB / 329.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.2224, allocations: 94.02 kB / 329.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.223, allocations: 222.9 kB / 329.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006753/0.2236, allocations: 0.5396 MB / 330.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.224, allocations: 219.2 kB / 330.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.2243, allocations: 175.5 kB / 330.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.2246, allocations: 182 kB / 330.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.2247, allocations: 37.75 kB / 330.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.2248, allocations: 55.19 kB / 331 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.772e-05/0.2249, allocations: 85.64 kB / 331 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.2251, allocations: 228.7 kB / 331.3 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.2256, allocations: 0.557 MB / 331.8 MB, free: 13.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2257, allocations: 1.156 kB / 331.8 MB, free: 13.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2257, allocations: 0 / 331.8 MB, free: 13.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.2257, allocations: 0 / 331.8 MB, free: 13.02 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.0009779/0.2267, allocations: 0.735 MB / 332.6 MB, free: 12.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2267, allocations: 9.719 kB / 332.6 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.863e-05/0.2268, allocations: 62.75 kB / 332.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.2273, allocations: 409.7 kB / 333 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.2273, allocations: 30.53 kB / 333.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.2274, allocations: 41.73 kB / 333.1 MB, free: 11.94 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/0.2282, allocations: 494.8 kB / 333.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.2282, allocations: 2.375 kB / 333.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.2283, allocations: 16.56 kB / 333.6 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.2283, allocations: 11.75 kB / 333.6 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/0.2288, allocations: 252.8 kB / 333.9 MB, free: 11.28 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.231, allocations: 2.834 MB / 336.7 MB, free: 8.293 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.2314, allocations: 158.6 kB / 336.9 MB, free: 8.129 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.2315, allocations: 76.88 kB / 336.9 MB, free: 8.051 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.2317, allocations: 81.11 kB / 337 MB, free: 7.953 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2317, allocations: 46.48 kB / 337.1 MB, free: 7.898 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.2318, allocations: 0 / 337.1 MB, free: 7.898 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001353/0.2331, allocations: 0.6231 MB / 337.7 MB, free: 7.219 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.2332, allocations: 51.41 kB / 337.7 MB, free: 7.156 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.2335, allocations: 341.6 kB / 338.1 MB, free: 6.812 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.2336, allocations: 29.7 kB / 338.1 MB, free: 6.777 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.2338, allocations: 303 kB / 338.4 MB, free: 6.477 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.2339, allocations: 71.03 kB / 338.5 MB, free: 6.406 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.234, allocations: 69.59 kB / 338.5 MB, free: 6.332 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2341, allocations: 350.7 kB / 338.9 MB, free: 5.98 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.2343, allocations: 71.73 kB / 338.9 MB, free: 5.91 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.2345, allocations: 215.4 kB / 339.1 MB, free: 5.629 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: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009353/0.2355, allocations: 0.5081 MB / 339.7 MB, free: 5.031 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2355, allocations: 0 / 339.7 MB, free: 5.031 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005546/0.2361, allocations: 365.3 kB / 340 MB, free: 4.664 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2361, allocations: 11.66 kB / 340 MB, free: 4.656 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2361, allocations: 4 kB / 340 MB, free: 4.652 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.2362, allocations: 40.84 kB / 340.1 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.2365, allocations: 71.91 kB / 340.1 MB, free: 4.539 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.2378, allocations: 1.639 MB / 341.8 MB, free: 2.758 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.2379, allocations: 8 kB / 341.8 MB, free: 2.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.238, allocations: 20 kB / 341.8 MB, free: 2.73 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 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.0001961/0.2382, allocations: 181.7 kB / 342 MB, free: 2.543 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.2382, allocations: 39.47 kB / 342 MB, free: 2.504 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.093e-05/0.2383, allocations: 35.59 kB / 342.1 MB, free: 2.469 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2383, allocations: 4.141 kB / 342.1 MB, free: 2.465 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2383, allocations: 3.984 kB / 342.1 MB, free: 2.461 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2383, allocations: 0 / 342.1 MB, free: 2.461 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009027/0.2393, allocations: 0.7141 MB / 342.8 MB, free: 1.672 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2393, allocations: 4 kB / 342.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.2394, allocations: 31.98 kB / 342.8 MB, free: 1.637 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-05/0.2395, allocations: 32.78 kB / 342.8 MB, free: 1.602 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2395, allocations: 4 kB / 342.8 MB, free: 1.598 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.2406, allocations: 1.434 MB / 344.3 MB, free: 28 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2406, allocations: 0 / 344.3 MB, free: 28 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.2411, allocations: 360.8 kB / 344.6 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.2412, allocations: 104.6 kB / 344.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.2413, allocations: 4 kB / 344.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.2414, allocations: 8.031 kB / 344.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.2414, allocations: 20.09 kB / 344.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.2415, allocations: 8 kB / 344.8 MB, free: 15.49 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.2417, allocations: 239.2 kB / 345 MB, free: 15.26 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2417, allocations: 0 / 345 MB, free: 15.26 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.2421, allocations: 64 kB / 345.1 MB, free: 15.2 MB / 286.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.0001052/0.2422, allocations: 103.2 kB / 345.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005906/0.2428, allocations: 322.7 kB / 345.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2428, allocations: 0 / 345.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.243, allocations: 182.6 kB / 345.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.2433, allocations: 38.56 kB / 345.7 MB, free: 14.53 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2447, allocations: 0.8578 MB / 346.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.2451, allocations: 0.8185 MB / 347.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2452, allocations: 39.27 kB / 347.4 MB, free: 12.76 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.2453, allocations: 31.44 kB / 347.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2453, allocations: 0 / 347.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of Templates: time 0.00639/0.2517, allocations: 2.675 MB / 350.1 MB, free: 10.06 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (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)