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.001306/0.001306, allocations: 118 kB / 17.83 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 199.4 kB / 18.78 MB, free: 4.316 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.457/1.457, allocations: 230.4 MB / 250 MB, free: 9.074 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.001915/0.001915, allocations: 67.84 kB / 366.9 MB, free: 7.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2909, allocations: 53.3 MB / 420.2 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005305/0.2962, allocations: 3.71 MB / 423.9 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.2985, allocations: 1.009 MB / 424.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.2988, allocations: 4 kB / 424.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.2993, allocations: 111 kB / 425 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005979/0.2999, allocations: 210.3 kB / 425.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.3002, allocations: 127.8 kB / 425.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009556/0.3012, allocations: 0.6827 MB / 426 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.3014, allocations: 130.3 kB / 426.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.3018, allocations: 255.1 kB / 426.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.3022, allocations: 302.7 kB / 426.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.3023, allocations: 56 kB / 426.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.3024, allocations: 64 kB / 426.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.3025, allocations: 119.6 kB / 426.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.3028, allocations: 306.5 kB / 427.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008445/0.3037, allocations: 0.6993 MB / 427.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3037, allocations: 0 / 427.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3037, allocations: 0 / 427.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.3037, allocations: 3.938 kB / 427.9 MB, free: 0.5273 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.00172/0.3054, allocations: 0.9086 MB / 428.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3055, allocations: 8.031 kB / 428.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.3056, allocations: 75.33 kB / 428.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.3057, allocations: 68.56 kB / 429 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008124/0.3065, allocations: 450.8 kB / 429.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.3066, allocations: 62.91 kB / 429.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.3067, allocations: 28.38 kB / 429.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008929/0.3076, allocations: 496.8 kB / 430 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3076, allocations: 0 / 430 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.3077, allocations: 20 kB / 430 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.3077, allocations: 11.98 kB / 430 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000848/0.3085, allocations: 338.4 kB / 430.3 MB, free: 13.93 MB / 350.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.002335/0.3109, allocations: 1.287 MB / 431.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/0.3116, allocations: 367.4 kB / 432 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.312, allocations: 169.6 kB / 432.1 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.312, allocations: 7.938 kB / 432.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.3121, allocations: 46.5 kB / 432.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.3121, allocations: 0 / 432.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001691/0.3138, allocations: 0.7238 MB / 432.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002726/0.314, allocations: 456.9 kB / 433.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.3146, allocations: 453.9 kB / 433.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/0.3147, allocations: 37.7 kB / 433.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3149, allocations: 240.7 kB / 434.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.315, allocations: 130.8 kB / 434.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.3152, allocations: 77.64 kB / 434.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3154, allocations: 358.8 kB / 434.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.3157, allocations: 143.7 kB / 434.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.3163, allocations: 282.8 kB / 435.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007624/0.317, allocations: 329.2 kB / 435.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.317, allocations: 4 kB / 435.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001054/0.3181, allocations: 486 kB / 435.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.3181, allocations: 33.7 kB / 435.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3181, allocations: 0 / 435.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.3183, allocations: 53.72 kB / 435.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.3187, allocations: 83.88 kB / 436 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.3215, allocations: 2.965 MB / 439 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.322, allocations: 47.8 kB / 439 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.3221, allocations: 15.98 kB / 439.1 MB, free: 4.52 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.0002454/0.3223, allocations: 173.8 kB / 439.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.3224, allocations: 55.67 kB / 439.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.3225, allocations: 48.77 kB / 439.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3225, allocations: 4 kB / 439.3 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3225, allocations: 7.922 kB / 439.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.3236, allocations: 0.7284 MB / 440.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.3254, allocations: 1.013 MB / 441.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3254, allocations: 3.938 kB / 441.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.3258, allocations: 87.88 kB / 441.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.3258, allocations: 4 kB / 441.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.3259, allocations: 7.984 kB / 441.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.3259, allocations: 7.938 kB / 441.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3259, allocations: 0 / 441.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.3272, allocations: 0.6482 MB / 441.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.3274, allocations: 176.6 kB / 442 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.3275, allocations: 8 kB / 442 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.3279, allocations: 23.97 kB / 442 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.3279, allocations: 23.97 kB / 442.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.328, allocations: 20 kB / 442.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004049/0.3284, allocations: 327.1 kB / 442.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3284, allocations: 0 / 442.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00049/0.3289, allocations: 135.9 kB / 442.5 MB, free: 0.8242 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.00172/0.3306, allocations: 1.208 MB / 443.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.3319, allocations: 0.6215 MB / 444.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.3319, allocations: 4 kB / 444.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.3323, allocations: 163.8 kB / 444.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/0.333, allocations: 140.4 kB / 444.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/0.3404, allocations: 4.532 MB / 449.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.3409, allocations: 0.8352 MB / 450 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.3412, allocations: 68.34 kB / 450.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.3415, allocations: 175.4 kB / 450.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3415, allocations: 0 / 450.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.053/0.3945, allocations: 13.8 MB / 464.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.69, allocations: 17.86 kB / 464.1 MB, free: 11.37 MB / 382.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)