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.001312/0.001312, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 202 kB / 18.73 MB, free: 4.312 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.415/1.415, allocations: 227.7 MB / 247.2 MB, free: 10.19 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.00273/0.00273, allocations: 67.89 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2953, allocations: 50.55 MB / 409.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005477/0.3008, allocations: 3.68 MB / 412.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.303, allocations: 0.9968 MB / 413.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.3034, allocations: 8 kB / 413.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.3039, allocations: 111 kB / 413.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006329/0.3046, allocations: 206.3 kB / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.305, allocations: 127.8 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.306, allocations: 0.6808 MB / 414.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.3064, allocations: 194.2 kB / 415.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.3068, allocations: 255 kB / 415.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.3073, allocations: 294.8 kB / 415.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.3074, allocations: 56 kB / 415.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.3076, allocations: 64 kB / 415.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.3077, allocations: 127.5 kB / 415.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003915/0.3081, allocations: 310.5 kB / 416.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008318/0.309, allocations: 0.6916 MB / 416.8 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.309, allocations: 0 / 416.8 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.309, allocations: 0 / 416.8 MB, free: 9.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.756e-05/0.309, allocations: 4 kB / 416.8 MB, free: 9.562 MB / 334.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.00186/0.3109, allocations: 0.9086 MB / 417.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3109, allocations: 8.031 kB / 417.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.3111, allocations: 75.33 kB / 417.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.3112, allocations: 68.56 kB / 417.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008406/0.3121, allocations: 446.8 kB / 418.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.3122, allocations: 62.84 kB / 418.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.3123, allocations: 32.38 kB / 418.4 MB, free: 7.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009393/0.3132, allocations: 492.9 kB / 418.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3133, allocations: 8 kB / 418.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.3133, allocations: 12 kB / 418.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3133, allocations: 8 kB / 418.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.3142, allocations: 346.3 kB / 419.3 MB, free: 6.965 MB / 334.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.002303/0.3165, allocations: 1.291 MB / 420.6 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.3173, allocations: 383.5 kB / 420.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000437/0.3177, allocations: 173.7 kB / 421.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.3178, allocations: 15.98 kB / 421.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.3179, allocations: 46.44 kB / 421.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.833e-06/0.3179, allocations: 0 / 421.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001723/0.3196, allocations: 0.7238 MB / 421.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002606/0.3199, allocations: 441 kB / 422.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005703/0.3204, allocations: 469.9 kB / 422.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.3205, allocations: 33.7 kB / 422.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.3207, allocations: 236.7 kB / 423 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.3209, allocations: 134.8 kB / 423.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.321, allocations: 85.58 kB / 423.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3212, allocations: 358.8 kB / 423.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/0.3216, allocations: 135.7 kB / 423.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.3222, allocations: 278.8 kB / 424 MB, free: 1.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008161/0.323, allocations: 341.1 kB / 424.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.323, allocations: 0 / 424.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001084/0.3241, allocations: 490.1 kB / 424.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.3242, allocations: 29.7 kB / 424.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3242, allocations: 3.938 kB / 424.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/0.3244, allocations: 57.72 kB / 424.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.3248, allocations: 79.88 kB / 425 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.3277, allocations: 2.961 MB / 428 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.3282, allocations: 51.8 kB / 428 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.3282, allocations: 8 kB / 428 MB, free: 13.53 MB / 350.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.0002381/0.3284, allocations: 177.8 kB / 428.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3286, allocations: 55.91 kB / 428.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.3287, allocations: 56.7 kB / 428.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3287, allocations: 3.984 kB / 428.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3287, allocations: 7.938 kB / 428.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/0.3298, allocations: 0.732 MB / 429 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.3316, allocations: 1.013 MB / 430 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3316, allocations: 3.938 kB / 430.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.332, allocations: 91.88 kB / 430.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.332, allocations: 4 kB / 430.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.3321, allocations: 7.984 kB / 430.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3321, allocations: 0 / 430.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3321, allocations: 4 kB / 430.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.3334, allocations: 0.6483 MB / 430.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.3337, allocations: 172.6 kB / 431 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.252e-05/0.3338, allocations: 8 kB / 431 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.3341, allocations: 27.97 kB / 431 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.3342, allocations: 23.97 kB / 431 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.3342, allocations: 12.06 kB / 431 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004137/0.3347, allocations: 327.1 kB / 431.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3347, allocations: 0 / 431.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004637/0.3351, allocations: 135.9 kB / 431.5 MB, free: 9.824 MB / 350.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.001734/0.3369, allocations: 1.212 MB / 432.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.3382, allocations: 0.6449 MB / 433.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3382, allocations: 0 / 433.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.3387, allocations: 175.8 kB / 433.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.3393, allocations: 141.3 kB / 433.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007144/0.3465, allocations: 4.54 MB / 438.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.347, allocations: 0.8236 MB / 439 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.3473, allocations: 72.33 kB / 439.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.3476, allocations: 175.4 kB / 439.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3476, allocations: 0 / 439.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04799/0.3956, allocations: 13.67 MB / 452.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.75, allocations: 16.56 kB / 453 MB, free: 4.469 MB / 366.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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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)