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.405/2.405, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001253/0.001254, allocations: 184.8 kB / 487.4 MB, free: 5.059 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.688/1.688, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 95.83 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.482e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3111, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/1.627, allocations: 420.4 MB / 1.617 GB, free: 1.84 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.628, allocations: 95.5 kB / 1.617 GB, free: 1.789 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.314/7.941, allocations: 1.66 GB / 3.277 GB, free: 226.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.767e-06/7.942, allocations: 2.469 kB / 3.277 GB, free: 226.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007213/7.942, allocations: 120.5 kB / 3.277 GB, free: 226.6 MB / 1.151 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.01168/7.954, allocations: 3.879 MB / 3.281 GB, free: 224.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/7.954, allocations: 18.58 kB / 3.281 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/7.964, allocations: 1.625 MB / 3.283 GB, free: 223.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03774/8.002, allocations: 18.28 MB / 3.3 GB, free: 212.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/8.002, allocations: 88.84 kB / 3.3 GB, free: 212.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008764/8.003, allocations: 178.7 kB / 3.301 GB, free: 212.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005739/8.009, allocations: 3.481 MB / 3.304 GB, free: 211.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006111/8.015, allocations: 3.868 MB / 3.308 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.068e-05/8.015, allocations: 15.8 kB / 3.308 GB, free: 208.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003317/8.015, allocations: 11.09 kB / 3.308 GB, free: 208.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/8.015, allocations: 145.4 kB / 3.308 GB, free: 208.2 MB / 1.151 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.02499/8.04, allocations: 19.63 MB / 3.327 GB, free: 187.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/8.044, allocations: 2.703 MB / 3.33 GB, free: 184.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/8.045, allocations: 1.305 MB / 3.331 GB, free: 183.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/8.046, allocations: 0.5462 MB / 3.332 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/8.046, allocations: 59.5 kB / 3.332 GB, free: 182.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=184): time 4.519e-06/8.046, allocations: 4 kB / 3.332 GB, free: 182.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=184): time 0.005955/8.052, allocations: 2.984 MB / 3.335 GB, free: 179.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/8.052, allocations: 73.41 kB / 3.335 GB, free: 179.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004242/8.056, allocations: 2.905 MB / 3.338 GB, free: 176.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005921/8.056, allocations: 25.7 kB / 3.338 GB, free: 176.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/8.058, allocations: 1.766 MB / 3.339 GB, free: 175.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00074/8.058, allocations: 0.6033 MB / 3.34 GB, free: 174.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/8.059, allocations: 0 / 3.34 GB, free: 174.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001469/8.059, allocations: 406.9 kB / 3.34 GB, free: 174.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/8.06, allocations: 1.231 MB / 3.341 GB, free: 172.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/8.062, allocations: 1.888 MB / 3.343 GB, free: 170.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/8.064, allocations: 1.616 MB / 3.345 GB, free: 169.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/8.064, allocations: 7.938 kB / 3.345 GB, free: 169.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007205/8.072, allocations: 4.05 MB / 3.349 GB, free: 165 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001454/8.073, allocations: 7.287 MB / 3.356 GB, free: 157.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/8.073, allocations: 16 kB / 3.356 GB, free: 157.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004198/8.077, allocations: 1.237 MB / 3.357 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/8.08, allocations: 0.4953 MB / 3.358 GB, free: 155.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00493/8.085, allocations: 4.922 MB / 3.362 GB, free: 150.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004434/8.089, allocations: 397 kB / 3.363 GB, free: 150.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004975/8.09, allocations: 124 kB / 3.363 GB, free: 150 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/8.09, allocations: 4 kB / 3.363 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005734/8.095, allocations: 3.476 MB / 3.366 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/8.095, allocations: 20 kB / 3.366 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004812/8.1, allocations: 1.324 MB / 3.368 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/8.102, allocations: 487.2 kB / 3.368 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004181/8.106, allocations: 3.571 MB / 3.372 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/8.11, allocations: 329.7 kB / 3.372 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005757/8.111, allocations: 118.9 kB / 3.372 GB, free: 140.6 MB / 1.151 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 (247): * Single equations (assignments): 242 * 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 {5 6,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.001087/8.112, allocations: 156.4 kB / 3.372 GB, free: 140.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006035/8.118, allocations: 2.782 MB / 3.375 GB, free: 137.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/8.12, allocations: 332.1 kB / 3.375 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005428/8.125, allocations: 3.066 MB / 3.378 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/8.125, allocations: 20 kB / 3.378 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/8.125, allocations: 4 kB / 3.378 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003317/8.128, allocations: 2.487 MB / 3.381 GB, free: 131.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/8.141, allocations: 6.507 MB / 3.387 GB, free: 125.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/8.141, allocations: 4.094 kB / 3.387 GB, free: 125.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/8.142, allocations: 291.5 kB / 3.387 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00281/8.145, allocations: 0.9521 MB / 3.388 GB, free: 123.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/8.145, allocations: 23.94 kB / 3.388 GB, free: 123.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005666/8.151, allocations: 9.729 MB / 3.398 GB, free: 113.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/8.151, allocations: 8.125 kB / 3.398 GB, free: 113.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006463/8.158, allocations: 4.531 MB / 3.402 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/8.16, allocations: 0.8322 MB / 3.403 GB, free: 108 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/8.161, allocations: 4 kB / 3.403 GB, free: 108 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003043/8.164, allocations: 191.6 kB / 3.403 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/8.164, allocations: 121.8 kB / 3.403 GB, free: 107.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/8.165, allocations: 87.94 kB / 3.403 GB, free: 107.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003871/8.169, allocations: 2.212 MB / 3.406 GB, free: 105.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.71e-07/8.169, allocations: 0 / 3.406 GB, free: 105.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01042/8.179, allocations: 2.162 MB / 3.408 GB, free: 103.2 MB / 1.151 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 (142): * Single equations (assignments): 132 * 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 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.008894/8.188, allocations: 5.842 MB / 3.413 GB, free: 97.41 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0094/8.197, allocations: 4.848 MB / 3.418 GB, free: 92.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/8.197, allocations: 3.984 kB / 3.418 GB, free: 92.57 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002516/8.2, allocations: 1.78 MB / 3.42 GB, free: 90.74 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009345/8.209, allocations: 1.732 MB / 3.422 GB, free: 89.08 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/8.233, allocations: 7.55 MB / 3.429 GB, free: 81.51 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004186/8.237, allocations: 3.045 MB / 3.432 GB, free: 78.43 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009572/8.247, allocations: 2.263 MB / 3.434 GB, free: 76.24 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002663/8.25, allocations: 1.46 MB / 3.436 GB, free: 74.78 MB / 1.151 GB Notification: Performance of SimCode: time 1.402e-06/8.25, allocations: 0 / 3.436 GB, free: 74.78 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8564/9.106, allocations: 113.9 MB / 3.547 GB, free: 227.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/9.106, allocations: 191.1 kB / 3.547 GB, free: 227.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.863/14.97, allocations: 0 / 3.547 GB, free: 227.5 MB / 1.151 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