Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001687/0.001687, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001906, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.498/1.498, allocations: 227.7 MB / 247.1 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 65.36 kB / 307.3 MB, free: 408 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1446, allocations: 50.54 MB / 357.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006394/0.1511, allocations: 3.667 MB / 361.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1533, allocations: 1.016 MB / 362.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.1536, allocations: 4 kB / 362.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.154, allocations: 115 kB / 362.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.1545, allocations: 190.3 kB / 362.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.1549, allocations: 135.7 kB / 363 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008373/0.1557, allocations: 0.677 MB / 363.7 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.1561, allocations: 194.5 kB / 363.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.1565, allocations: 255.1 kB / 364.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.1569, allocations: 302.7 kB / 364.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.157, allocations: 56 kB / 364.5 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1571, allocations: 60 kB / 364.5 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1572, allocations: 119.6 kB / 364.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.1576, allocations: 310.5 kB / 364.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008146/0.1584, allocations: 0.6891 MB / 365.6 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.1584, allocations: 0 / 365.6 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1584, allocations: 0 / 365.6 MB, free: 6.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1585, allocations: 0 / 365.6 MB, free: 6.043 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001766/0.1602, allocations: 0.8932 MB / 366.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1603, allocations: 8.031 kB / 366.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.1604, allocations: 87.28 kB / 366.6 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.1606, allocations: 64.22 kB / 366.7 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007434/0.1614, allocations: 438.4 kB / 367.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.1616, allocations: 78.89 kB / 367.2 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.1617, allocations: 36.38 kB / 367.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009576/0.1626, allocations: 0.493 MB / 367.7 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1627, allocations: 4 kB / 367.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.1627, allocations: 16 kB / 367.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1628, allocations: 12 kB / 367.7 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009835/0.1637, allocations: 366.4 kB / 368.1 MB, free: 3.41 MB / 302.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 preOpt removeSimpleEquations (simulation): time 0.002386/0.1661, allocations: 1.314 MB / 369.4 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007998/0.167, allocations: 387.5 kB / 369.8 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.1675, allocations: 193.6 kB / 370 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.1675, allocations: 11.98 kB / 370 MB, free: 1.395 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.1676, allocations: 38.56 kB / 370 MB, free: 1.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.1676, allocations: 0 / 370 MB, free: 1.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001942/0.1695, allocations: 0.7626 MB / 370.8 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.169/0.3386, allocations: 448.9 kB / 371.2 MB, free: 20.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.3393, allocations: 455.7 kB / 371.7 MB, free: 20.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.3394, allocations: 35.3 kB / 371.7 MB, free: 20.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3396, allocations: 245.3 kB / 371.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.3397, allocations: 120 kB / 372.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3399, allocations: 77.03 kB / 372.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.34, allocations: 358.2 kB / 372.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.3404, allocations: 155.1 kB / 372.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.341, allocations: 295.8 kB / 372.9 MB, free: 19.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008759/0.3419, allocations: 358.8 kB / 373.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3419, allocations: 3.5 kB / 373.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001216/0.3431, allocations: 0.5015 MB / 373.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.3432, allocations: 40.06 kB / 373.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3432, allocations: 0.8438 kB / 373.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/0.3434, allocations: 54.09 kB / 373.9 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.3439, allocations: 88.44 kB / 374 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.3458, allocations: 2.963 MB / 376.9 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.3463, allocations: 59.39 kB / 377 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.3464, allocations: 12.72 kB / 377 MB, free: 16.36 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.3466, allocations: 170.1 kB / 377.2 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/0.3466, allocations: 54.41 kB / 377.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.723e-05/0.3468, allocations: 51.61 kB / 377.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3468, allocations: 3.812 kB / 377.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3468, allocations: 0.75 kB / 377.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009246/0.3477, allocations: 0.7526 MB / 378 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.3495, allocations: 1.046 MB / 379.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3495, allocations: 2.734 kB / 379.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.35, allocations: 100 kB / 379.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.35, allocations: 1.375 kB / 379.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.35, allocations: 6.047 kB / 379.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.35, allocations: 3.859 kB / 379.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.35, allocations: 0 / 379.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.3514, allocations: 0.6963 MB / 379.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.3516, allocations: 163.6 kB / 380 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/0.3516, allocations: 12.19 kB / 380 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.352, allocations: 30.66 kB / 380.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.3521, allocations: 28.39 kB / 380.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.3521, allocations: 11.25 kB / 380.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003622/0.3525, allocations: 320.5 kB / 380.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3525, allocations: 1.031 kB / 380.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004802/0.353, allocations: 140.8 kB / 380.6 MB, free: 14.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/0.3546, allocations: 1.248 MB / 381.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.3562, allocations: 0.6761 MB / 382.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.3562, allocations: 7.656 kB / 382.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.3567, allocations: 186.5 kB / 382.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/0.3576, allocations: 143.8 kB / 382.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006938/0.3646, allocations: 4.737 MB / 387.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3649, allocations: 0.8273 MB / 388.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003524/0.3653, allocations: 66.84 kB / 388.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.3655, allocations: 171.9 kB / 388.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3655, allocations: 0 / 388.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04404/0.4096, allocations: 13.53 MB / 402.2 MB, free: 1.926 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.36, allocations: 7.375 kB / 402.2 MB, free: 1.922 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)