Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.conf.json 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/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008358/0.0008358, allocations: 94.66 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008881/0.0008882, allocations: 168.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.487/2.487, allocations: 409.4 MB / 0.684 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003826, allocations: 15.98 kB / 0.8378 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7808/0.7812, allocations: 146.8 MB / 0.9811 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002104/0.7834, allocations: 1.58 MB / 0.9827 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009835/0.7844, allocations: 0.5929 MB / 0.9832 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.69e-05/0.7845, allocations: 4 kB / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.7848, allocations: 51.75 kB / 0.9833 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.785, allocations: 59.66 kB / 0.9833 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.7852, allocations: 59.91 kB / 0.9834 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006251/0.7858, allocations: 0.6081 MB / 0.984 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.7859, allocations: 29.08 kB / 0.984 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.7862, allocations: 203.6 kB / 0.9842 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.7866, allocations: 275.4 kB / 0.9845 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.7866, allocations: 20 kB / 0.9845 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.7867, allocations: 27.94 kB / 0.9845 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.7869, allocations: 163.6 kB / 0.9847 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.932e-05/0.787, allocations: 81.56 kB / 0.9848 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.7873, allocations: 365.4 kB / 0.9851 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.7874, allocations: 7.922 kB / 0.9851 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7874, allocations: 0 / 0.9851 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.7874, allocations: 4 kB / 0.9851 GB, free: 2.219 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001779/0.7892, allocations: 0.7247 MB / 0.9858 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.7892, allocations: 12.03 kB / 0.9858 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.7893, allocations: 50.55 kB / 0.9859 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.7894, allocations: 35.62 kB / 0.9859 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.7898, allocations: 306.8 kB / 0.9862 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.7899, allocations: 20.23 kB / 0.9862 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.7899, allocations: 31.98 kB / 0.9863 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.7902, allocations: 175.4 kB / 0.9864 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.7903, allocations: 0 / 0.9864 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.7903, allocations: 4 kB / 0.9864 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.7903, allocations: 11.94 kB / 0.9864 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.7906, allocations: 144.6 kB / 0.9866 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.7942, allocations: 1.351 MB / 0.9879 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.7955, allocations: 466.2 kB / 0.9883 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.7957, allocations: 116.8 kB / 0.9885 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.7957, allocations: 4 kB / 0.9885 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.7958, allocations: 38.56 kB / 0.9885 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.7958, allocations: 0 / 0.9885 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0006516/0.7964, allocations: 356.4 kB / 0.9888 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.7965, allocations: 55.36 kB / 0.9889 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.7967, allocations: 286.5 kB / 0.9892 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.7968, allocations: 37.7 kB / 0.9892 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.7969, allocations: 136.9 kB / 0.9893 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/0.797, allocations: 78.83 kB / 0.9894 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.797, allocations: 12 kB / 0.9894 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.7972, allocations: 338.8 kB / 0.9897 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.7976, allocations: 269 kB / 0.99 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.7981, allocations: 328.5 kB / 0.9903 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.7986, allocations: 298.1 kB / 0.9906 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7986, allocations: 0 / 0.9906 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001086/0.7997, allocations: 0.6861 MB / 0.9913 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.7997, allocations: 8 kB / 0.9913 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7997, allocations: 0 / 0.9913 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.7998, allocations: 0 / 0.9913 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.8005, allocations: 131.9 kB / 0.9914 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.8005, allocations: 11.89 kB / 0.9914 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009895/0.8015, allocations: 87.34 kB / 0.9915 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.8015, allocations: 19.98 kB / 0.9915 GB, free: 11.42 MB / 0.7481 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001725/0.8017, allocations: 165.7 kB / 0.9917 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.8018, allocations: 19.72 kB / 0.9917 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.8018, allocations: 34.17 kB / 0.9917 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.8019, allocations: 4 kB / 0.9917 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8019, allocations: 0 / 0.9917 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8019, allocations: 3.953 kB / 0.9917 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.8023, allocations: 425 kB / 0.9921 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8023, allocations: 0 / 0.9921 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.8025, allocations: 43.97 kB / 0.9922 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.8026, allocations: 11.92 kB / 0.9922 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.8026, allocations: 8 kB / 0.9922 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8026, allocations: 0 / 0.9922 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8026, allocations: 3.984 kB / 0.9922 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.8032, allocations: 489.1 kB / 0.9927 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.8033, allocations: 112.8 kB / 0.9928 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.8034, allocations: 19.98 kB / 0.9928 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.8039, allocations: 19.88 kB / 0.9928 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.8039, allocations: 15.98 kB / 0.9928 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.8039, allocations: 7.984 kB / 0.9928 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001665/0.8041, allocations: 189.9 kB / 0.993 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8041, allocations: 0 / 0.993 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005412/0.8047, allocations: 200 kB / 0.9932 GB, free: 9.59 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * 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.0008931/0.8056, allocations: 1.032 MB / 0.9942 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007468/0.8063, allocations: 464.5 kB / 0.9947 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8063, allocations: 0 / 0.9947 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.8065, allocations: 119.9 kB / 0.9948 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.807, allocations: 60.47 kB / 0.9948 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.811, allocations: 2.92 MB / 0.9977 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.8113, allocations: 0.7716 MB / 0.9984 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002563/0.8116, allocations: 90.2 kB / 0.9985 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.8118, allocations: 87.39 kB / 0.9986 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.8118, allocations: 0 / 0.9986 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.831, allocations: 8.389 MB / 1.007 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.8312, allocations: 198.2 kB / 1.007 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.837, allocations: 4.328 kB / 1.007 GB, free: 11.53 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat does not exist to compare? outputFormat=mat