Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 387.1 MB / 399.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 172.1 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.845/1.845, allocations: 221.3 MB / 0.7872 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 95.94 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.21e-05/4.261e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3472, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.477/1.824, allocations: 421 MB / 1.624 GB, free: 9.371 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/1.825, allocations: 98.06 kB / 1.624 GB, free: 9.32 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.035/8.86, allocations: 1.669 GB / 3.293 GB, free: 222.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.046e-06/8.86, allocations: 0 / 3.293 GB, free: 222.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0009216/8.861, allocations: 113.5 kB / 3.293 GB, free: 222.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.01467/8.876, allocations: 3.882 MB / 3.297 GB, free: 219.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/8.876, allocations: 11 kB / 3.297 GB, free: 219.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002902/8.879, allocations: 419.7 kB / 3.297 GB, free: 219.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/8.891, allocations: 1.625 MB / 3.299 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04608/8.937, allocations: 18.33 MB / 3.316 GB, free: 208.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/8.937, allocations: 229.4 kB / 3.317 GB, free: 208.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0017/8.939, allocations: 303.7 kB / 3.317 GB, free: 208.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/8.952, allocations: 4.28 MB / 3.321 GB, free: 204.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001613/8.952, allocations: 11.89 kB / 3.321 GB, free: 204.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008695/8.953, allocations: 126.9 kB / 3.321 GB, free: 204.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/8.953, allocations: 144.4 kB / 3.321 GB, free: 204 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006634/8.96, allocations: 3.687 MB / 3.325 GB, free: 200.3 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.02862/8.988, allocations: 20.08 MB / 3.345 GB, free: 179.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/8.992, allocations: 2.587 MB / 3.347 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/8.993, allocations: 1.288 MB / 3.348 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004834/8.994, allocations: 0.5439 MB / 3.349 GB, free: 174.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/8.994, allocations: 66.8 kB / 3.349 GB, free: 174.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=184): time 3.526e-06/8.994, allocations: 0 / 3.349 GB, free: 174.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=184): time 0.005737/9, allocations: 2.901 MB / 3.352 GB, free: 171.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/9, allocations: 83.17 kB / 3.352 GB, free: 171.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00513/9.005, allocations: 3.068 MB / 3.355 GB, free: 168.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007874/9.006, allocations: 73.7 kB / 3.355 GB, free: 168.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/9.007, allocations: 1.765 MB / 3.357 GB, free: 166.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008757/9.008, allocations: 0.6317 MB / 3.357 GB, free: 166.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/9.008, allocations: 48 kB / 3.357 GB, free: 166.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001474/9.008, allocations: 413.8 kB / 3.358 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/9.01, allocations: 1.188 MB / 3.359 GB, free: 164.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/9.012, allocations: 1.864 MB / 3.361 GB, free: 162.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/9.014, allocations: 1.553 MB / 3.362 GB, free: 160.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/9.014, allocations: 12 kB / 3.362 GB, free: 160.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007518/9.021, allocations: 4.109 MB / 3.366 GB, free: 156.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001503/9.023, allocations: 7.282 MB / 3.373 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/9.023, allocations: 16 kB / 3.373 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005942/9.029, allocations: 1.452 MB / 3.375 GB, free: 147.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/9.031, allocations: 0.4969 MB / 3.375 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004757/9.036, allocations: 4.767 MB / 3.38 GB, free: 142 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/9.041, allocations: 445.1 kB / 3.38 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006791/9.042, allocations: 123.9 kB / 3.38 GB, free: 141.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/9.042, allocations: 4 kB / 3.38 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006903/9.049, allocations: 3.845 MB / 3.384 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/9.049, allocations: 19.94 kB / 3.384 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005567/9.055, allocations: 1.483 MB / 3.386 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/9.057, allocations: 479.3 kB / 3.386 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/9.061, allocations: 3.556 MB / 3.39 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004579/9.065, allocations: 381.7 kB / 3.39 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007697/9.066, allocations: 116 kB / 3.39 GB, free: 131.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {4 7,5 50,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.001474/9.068, allocations: 256.6 kB / 3.39 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/9.07, allocations: 339.9 kB / 3.391 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006755/9.076, allocations: 3.297 MB / 3.394 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/9.077, allocations: 20 kB / 3.394 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/9.077, allocations: 7.938 kB / 3.394 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003806/9.08, allocations: 2.692 MB / 3.397 GB, free: 124.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/9.094, allocations: 7.181 MB / 3.404 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/9.095, allocations: 4 kB / 3.404 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/9.096, allocations: 279.6 kB / 3.404 GB, free: 117.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003879/9.1, allocations: 1.089 MB / 3.405 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/9.1, allocations: 55.97 kB / 3.405 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006606/9.107, allocations: 10.03 MB / 3.415 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/9.107, allocations: 0 / 3.415 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007435/9.114, allocations: 4.818 MB / 3.419 GB, free: 100.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00298/9.117, allocations: 0.84 MB / 3.42 GB, free: 99.65 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009559/9.118, allocations: 43.98 kB / 3.42 GB, free: 99.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/9.121, allocations: 231.5 kB / 3.421 GB, free: 99.38 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/9.121, allocations: 121.8 kB / 3.421 GB, free: 99.26 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/9.121, allocations: 91.94 kB / 3.421 GB, free: 99.17 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003817/9.125, allocations: 2.375 MB / 3.423 GB, free: 96.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/9.125, allocations: 0 / 3.423 GB, free: 96.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009635/9.135, allocations: 2.272 MB / 3.425 GB, free: 94.52 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (rad1.vol[1].dynBal.U,rad1.vol[2].dynBal.U,rad1.vol[3].dynBal.U,rad1.vol[4].dynBal.U,rad1.vol[5].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 60} Notification: Performance of Backend phase and start with SimCode phase: time 0.008566/9.144, allocations: 6.11 MB / 3.431 GB, free: 88.43 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01167/9.155, allocations: 5.316 MB / 3.436 GB, free: 83.13 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/9.155, allocations: 7.984 kB / 3.436 GB, free: 83.12 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002589/9.158, allocations: 1.87 MB / 3.438 GB, free: 81.19 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009369/9.167, allocations: 1.783 MB / 3.44 GB, free: 79.48 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/9.183, allocations: 7.768 MB / 3.448 GB, free: 71.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/9.186, allocations: 3.057 MB / 3.451 GB, free: 68.62 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007597/9.193, allocations: 2.229 MB / 3.453 GB, free: 66.46 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002536/9.196, allocations: 1.468 MB / 3.454 GB, free: 64.99 MB / 1.167 GB Notification: Performance of SimCode: time 1.893e-06/9.196, allocations: 0 / 3.454 GB, free: 64.99 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9553/10.15, allocations: 124.7 MB / 3.576 GB, free: 222.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/10.15, allocations: 237 kB / 3.576 GB, free: 222.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.037/16.19, allocations: 3.625 kB / 3.576 GB, free: 222.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2_res.mat does not exist to compare? outputFormat=mat