Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) 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) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 221.5 MB / 230.3 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009053/0.0009055, allocations: 84.92 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9621/0.9621, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.731e-05/2.737e-05, allocations: 0 / 0.5296 GB, free: 420 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.591/0.5911, allocations: 82.84 MB / 0.6105 GB, free: 13.02 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.7463, allocations: 125.2 MB / 0.7328 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001636/0.7465, allocations: 71.77 kB / 0.7328 GB, free: 15.66 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01338/0.7599, allocations: 4.054 MB / 0.7368 GB, free: 11.59 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.774e-06/0.76, allocations: 0 / 0.7368 GB, free: 11.59 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 3.19e-05/0.76, allocations: 4 kB / 0.7368 GB, free: 11.59 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001085/0.7611, allocations: 0.5568 MB / 0.7373 GB, free: 10.98 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.7612, allocations: 16.02 kB / 0.7373 GB, free: 10.97 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.469e-05/0.7613, allocations: 31.67 kB / 0.7374 GB, free: 10.94 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.7617, allocations: 283.5 kB / 0.7376 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.7618, allocations: 8 kB / 0.7377 GB, free: 10.61 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.7619, allocations: 27.89 kB / 0.7377 GB, free: 10.59 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004338/0.7623, allocations: 268.7 kB / 0.7379 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.7627, allocations: 282.2 kB / 0.7382 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.7627, allocations: 0 / 0.7382 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.7628, allocations: 0 / 0.7382 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.7628, allocations: 11.95 kB / 0.7382 GB, free: 10.03 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.7633, allocations: 346.9 kB / 0.7386 GB, free: 9.656 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.765, allocations: 0.6467 MB / 0.7392 GB, free: 9.004 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.7653, allocations: 210.9 kB / 0.7394 GB, free: 8.793 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.7655, allocations: 93.53 kB / 0.7395 GB, free: 8.684 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.7655, allocations: 43 kB / 0.7395 GB, free: 8.629 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.7655, allocations: 3.938 kB / 0.7395 GB, free: 8.625 MB / 0.5419 GB Notification: Performance of matching and sorting (n=53): time 0.001362/0.7669, allocations: 0.5676 MB / 0.7401 GB, free: 8.047 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.767, allocations: 59.84 kB / 0.7401 GB, free: 7.977 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.7671, allocations: 124.6 kB / 0.7402 GB, free: 7.844 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.7671, allocations: 29.7 kB / 0.7403 GB, free: 7.809 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.7672, allocations: 101.4 kB / 0.7404 GB, free: 7.707 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.7674, allocations: 205 kB / 0.7406 GB, free: 7.504 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.7674, allocations: 0 / 0.7406 GB, free: 7.504 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.7675, allocations: 346.8 kB / 0.7409 GB, free: 7.156 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.7679, allocations: 225.4 kB / 0.7411 GB, free: 6.938 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.7682, allocations: 233.3 kB / 0.7413 GB, free: 6.707 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009517/0.7692, allocations: 380.2 kB / 0.7417 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7692, allocations: 0 / 0.7417 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001446/0.7706, allocations: 0.7184 MB / 0.7424 GB, free: 5.613 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.7707, allocations: 9.406 kB / 0.7424 GB, free: 5.605 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.7707, allocations: 0 / 0.7424 GB, free: 5.605 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.7707, allocations: 4 kB / 0.7424 GB, free: 5.602 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/0.7714, allocations: 139.9 kB / 0.7425 GB, free: 5.465 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.7715, allocations: 4 kB / 0.7426 GB, free: 5.461 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.7717, allocations: 27.53 kB / 0.7426 GB, free: 5.434 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.7717, allocations: 23.98 kB / 0.7426 GB, free: 5.41 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.7719, allocations: 108.9 kB / 0.7427 GB, free: 5.297 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001257/0.7731, allocations: 0.5753 MB / 0.7433 GB, free: 4.715 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.7732, allocations: 23.72 kB / 0.7433 GB, free: 4.691 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.7749, allocations: 0.7776 MB / 0.744 GB, free: 3.902 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.7749, allocations: 8 kB / 0.7441 GB, free: 3.895 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.7749, allocations: 0 / 0.7441 GB, free: 3.895 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.7749, allocations: 11.92 kB / 0.7441 GB, free: 3.883 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.7754, allocations: 402.2 kB / 0.7445 GB, free: 3.453 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7755, allocations: 0 / 0.7445 GB, free: 3.453 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009374/0.7764, allocations: 175.8 kB / 0.7446 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.7764, allocations: 0 / 0.7446 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.7765, allocations: 19.98 kB / 0.7446 GB, free: 3.262 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.7765, allocations: 0 / 0.7446 GB, free: 3.262 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7765, allocations: 0 / 0.7446 GB, free: 3.262 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.7783, allocations: 1.01 MB / 0.7456 GB, free: 2.234 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.7785, allocations: 164.5 kB / 0.7458 GB, free: 2.055 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.7786, allocations: 7.984 kB / 0.7458 GB, free: 2.047 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.7788, allocations: 7.938 kB / 0.7458 GB, free: 2.039 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.7789, allocations: 48.72 kB / 0.7458 GB, free: 1.992 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.779, allocations: 19.98 kB / 0.7459 GB, free: 1.973 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 7.821e-05/0.779, allocations: 111.4 kB / 0.746 GB, free: 1.867 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.779, allocations: 0 / 0.746 GB, free: 1.867 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003706/0.7794, allocations: 111.9 kB / 0.7461 GB, free: 1.758 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002204/0.7816, allocations: 1.56 MB / 0.7476 GB, free: 172 kB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.6587/1.44, allocations: 0.5416 MB / 0.7481 GB, free: 135.8 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.44, allocations: 1.594 kB / 0.7481 GB, free: 135.8 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0006064/1.441, allocations: 306.3 kB / 0.7484 GB, free: 135.8 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/1.442, allocations: 31.66 kB / 0.7485 GB, free: 135.8 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/1.445, allocations: 1.562 MB / 0.75 GB, free: 135.1 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/1.445, allocations: 0.8118 MB / 0.7508 GB, free: 134.4 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0007077/1.446, allocations: 180.8 kB / 0.7509 GB, free: 134.4 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/1.446, allocations: 123.9 kB / 0.7511 GB, free: 134.4 MB / 0.5421 GB Notification: Performance of SimCode: time 4.037e-06/1.446, allocations: 7.562 kB / 0.7511 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/1.478, allocations: 7.852 MB / 0.7587 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/1.478, allocations: 186.7 kB / 0.7589 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/3.574, allocations: 1.688 kB / 0.7589 GB, free: 132.3 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat does not exist to compare? outputFormat=mat