Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.679/2.679, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.001601, allocations: 179.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.26/2.26, allocations: 205.4 MB / 0.6295 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 100.9 kB / 0.7428 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005014, allocations: 11.55 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.214, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004752/0.2188, allocations: 3.499 MB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005978/0.2248, allocations: 2.852 MB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007625/0.2256, allocations: 15.88 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.2272, allocations: 406.3 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.229, allocations: 0.5064 MB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.2311, allocations: 0.4968 MB / 0.9859 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002374/0.2335, allocations: 1.05 MB / 0.9869 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004186/0.234, allocations: 148.5 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.2351, allocations: 462.5 kB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009003/0.236, allocations: 490.1 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.2362, allocations: 36 kB / 0.988 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008354/0.2371, allocations: 291.6 kB / 0.9882 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005645/0.2377, allocations: 382.9 kB / 0.9886 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.238, allocations: 241 kB / 0.9888 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.2395, allocations: 1.033 MB / 0.9898 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2395, allocations: 4 kB / 0.9898 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2395, allocations: 0 / 0.9898 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.036e-05/0.2395, allocations: 0 / 0.9898 GB, free: 16.38 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003792/0.2433, allocations: 1.456 MB / 0.9913 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.2434, allocations: 19.95 kB / 0.9913 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001825/0.2436, allocations: 78.52 kB / 0.9914 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.2439, allocations: 134.4 kB / 0.9915 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.2457, allocations: 0.7291 MB / 0.9922 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.2458, allocations: 48.94 kB / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.246, allocations: 60 kB / 0.9923 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.2472, allocations: 0.6177 MB / 0.9929 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2472, allocations: 0 / 0.9929 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.2473, allocations: 16 kB / 0.9929 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.2473, allocations: 8 kB / 0.9929 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.2484, allocations: 0.5621 MB / 0.9935 GB, free: 12.52 MB / 0.6198 GB 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.006534/0.2549, allocations: 3.278 MB / 0.9967 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.2574, allocations: 0.84 MB / 0.9975 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/0.2578, allocations: 32.25 kB / 0.9975 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.2578, allocations: 34.94 kB / 0.9976 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 7.234e-06/0.2579, allocations: 0 / 0.9976 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.003698/0.2616, allocations: 1.188 MB / 0.9987 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.2617, allocations: 55.41 kB / 0.9988 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.2636, allocations: 1.177 MB / 0.9999 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/0.2637, allocations: 41.7 kB / 1 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.2641, allocations: 448.8 kB / 1 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.2643, allocations: 181.4 kB / 1.001 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.2644, allocations: 20 kB / 1.001 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2645, allocations: 349.9 kB / 1.001 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.2657, allocations: 0.6465 MB / 1.002 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.2669, allocations: 0.9669 MB / 1.003 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.2682, allocations: 0.7443 MB / 1.003 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.2682, allocations: 3.938 kB / 1.003 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003258/0.2715, allocations: 1.775 MB / 1.005 GB, free: 276 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.2716, allocations: 8 kB / 1.005 GB, free: 268 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/0.2716, allocations: 12 kB / 1.005 GB, free: 256 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/0.2719, allocations: 48.77 kB / 1.005 GB, free: 204 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.274, allocations: 272 kB / 1.005 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.2801, allocations: 6.741 MB / 1.012 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.2819, allocations: 134.6 kB / 1.012 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.282, allocations: 40.19 kB / 1.012 GB, free: 8.695 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006683/0.2827, allocations: 315.2 kB / 1.012 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.2829, allocations: 106.6 kB / 1.012 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.285, allocations: 0.853 MB / 1.013 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.285, allocations: 8 kB / 1.013 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.285, allocations: 3.953 kB / 1.013 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.285, allocations: 3.984 kB / 1.013 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.2868, allocations: 0.8956 MB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2869, allocations: 0 / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.288, allocations: 111.9 kB / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.2882, allocations: 36.83 kB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.745e-05/0.2883, allocations: 15.98 kB / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.2898, allocations: 1.339 MB / 1.016 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2898, allocations: 3.953 kB / 1.016 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.2928, allocations: 1.37 MB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/0.2936, allocations: 259.5 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.2938, allocations: 24.03 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/0.2948, allocations: 31.88 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.295, allocations: 31.95 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.295, allocations: 12 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001802/0.2969, allocations: 0.7725 MB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2969, allocations: 4 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001756/0.2986, allocations: 359.7 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00381/0.3025, allocations: 2.019 MB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004125/0.3067, allocations: 1.496 MB / 1.022 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3067, allocations: 0 / 1.022 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.3078, allocations: 486.7 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.3094, allocations: 203.1 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.3212, allocations: 10.67 MB / 1.033 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.3225, allocations: 1.125 MB / 1.034 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00103/0.3236, allocations: 190.3 kB / 1.034 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008789/0.3245, allocations: 395.3 kB / 1.035 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.392e-06/0.3245, allocations: 0 / 1.035 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0724/0.3969, allocations: 22.15 MB / 1.056 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/0.3973, allocations: 217.3 kB / 1.056 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.499/3.896, allocations: 3.938 kB / 1.056 GB, free: 10.96 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)