Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.ConductorSingleLayerPCM,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.001311/0.001311, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00135/0.00135, allocations: 193.9 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 71.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5563/0.558, allocations: 140.4 MB / 0.949 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004085/0.5622, allocations: 4.366 MB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003479/0.5657, allocations: 2.982 MB / 0.9562 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003112/0.566, allocations: 19.28 kB / 0.9562 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007348/0.5667, allocations: 323.2 kB / 0.9565 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008225/0.5676, allocations: 0.6002 MB / 0.9571 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009907/0.5686, allocations: 0.5491 MB / 0.9577 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.5702, allocations: 2.197 MB / 0.9598 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.5705, allocations: 160.8 kB / 0.96 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006014/0.5711, allocations: 0.525 MB / 0.9605 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006529/0.5718, allocations: 0.6795 MB / 0.9611 GB, free: 240 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.5719, allocations: 46.75 kB / 0.9612 GB, free: 240 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.5724, allocations: 396.5 kB / 0.9616 GB, free: 40 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004069/0.5729, allocations: 432.8 kB / 0.962 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.5734, allocations: 0.562 MB / 0.9625 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.5747, allocations: 1.432 MB / 0.9639 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5747, allocations: 5.25 kB / 0.9639 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5747, allocations: 0 / 0.9639 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.5747, allocations: 0 / 0.9639 GB, free: 14.45 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002639/0.5774, allocations: 1.613 MB / 0.9655 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.5774, allocations: 10.16 kB / 0.9655 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.992e-05/0.5775, allocations: 80.56 kB / 0.9656 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.5777, allocations: 135.8 kB / 0.9657 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.5788, allocations: 0.8186 MB / 0.9665 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.5789, allocations: 40.38 kB / 0.9666 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/0.579, allocations: 72.69 kB / 0.9666 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000816/0.5798, allocations: 0.6131 MB / 0.9672 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5798, allocations: 1.406 kB / 0.9672 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.5799, allocations: 19.02 kB / 0.9672 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.5799, allocations: 14.06 kB / 0.9673 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007038/0.5806, allocations: 0.5614 MB / 0.9678 GB, free: 11.86 MB / 0.7325 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.003837/0.5844, allocations: 3.285 MB / 0.971 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.5857, allocations: 0.8494 MB / 0.9718 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.5861, allocations: 360.5 kB / 0.9722 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.866e-05/0.5861, allocations: 24.55 kB / 0.9722 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.5862, allocations: 38 kB / 0.9722 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.5862, allocations: 4 kB / 0.9722 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.001527/0.5877, allocations: 1.173 MB / 0.9734 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.5878, allocations: 55.75 kB / 0.9734 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.5891, allocations: 1.236 MB / 0.9747 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.5892, allocations: 40.89 kB / 0.9747 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.5895, allocations: 467.3 kB / 0.9751 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.5896, allocations: 177.5 kB / 0.9753 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.5899, allocations: 202.5 kB / 0.9755 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.59, allocations: 361.9 kB / 0.9758 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.5907, allocations: 0.6387 MB / 0.9765 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000861/0.5916, allocations: 0.9747 MB / 0.9774 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.5931, allocations: 1.582 MB / 0.979 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.5931, allocations: 8 kB / 0.979 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001994/0.5951, allocations: 1.783 MB / 0.9807 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5951, allocations: 9.406 kB / 0.9807 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.5951, allocations: 15.94 kB / 0.9807 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.5953, allocations: 44.83 kB / 0.9808 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.5963, allocations: 267.6 kB / 0.981 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.5995, allocations: 6.733 MB / 0.9876 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008581/0.6004, allocations: 134.6 kB / 0.9877 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.6005, allocations: 36 kB / 0.9878 GB, free: 9.277 MB / 0.7481 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 (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003167/0.6008, allocations: 302.8 kB / 0.9881 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.6009, allocations: 110.7 kB / 0.9882 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.602, allocations: 0.8568 MB / 0.989 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.602, allocations: 4 kB / 0.989 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.602, allocations: 4 kB / 0.989 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.602, allocations: 0 / 0.989 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008896/0.6029, allocations: 0.9035 MB / 0.9899 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6029, allocations: 0 / 0.9899 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.6034, allocations: 119.8 kB / 0.99 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.94e-05/0.6035, allocations: 40.83 kB / 0.99 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.6036, allocations: 11.94 kB / 0.9901 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007805/0.6044, allocations: 1.342 MB / 0.9914 GB, free: 5.391 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6044, allocations: 0 / 0.9914 GB, free: 5.391 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.6058, allocations: 1.362 MB / 0.9927 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.6061, allocations: 267.5 kB / 0.993 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.6062, allocations: 8 kB / 0.993 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.6068, allocations: 39.86 kB / 0.993 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.6068, allocations: 27.91 kB / 0.993 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.6069, allocations: 15.98 kB / 0.993 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009368/0.6078, allocations: 0.8232 MB / 0.9938 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6078, allocations: 4 kB / 0.9939 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008885/0.6087, allocations: 367.6 kB / 0.9942 GB, free: 2.445 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002003/0.6107, allocations: 2.076 MB / 0.9962 GB, free: 348 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00201/0.6127, allocations: 1.503 MB / 0.9977 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6128, allocations: 0.625 kB / 0.9977 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004915/0.6133, allocations: 482.3 kB / 0.9982 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/0.6142, allocations: 216.4 kB / 0.9984 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.628, allocations: 12.3 MB / 1.01 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.6285, allocations: 1.102 MB / 1.011 GB, free: 148 kB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004563/0.629, allocations: 207.1 kB / 1.012 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/0.6295, allocations: 391.3 kB / 1.012 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6295, allocations: 0 / 1.012 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.239/3.869, allocations: 23.12 MB / 1.035 GB, free: 8.758 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/3.869, allocations: 243.9 kB / 1.035 GB, free: 8.496 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.583/7.452, allocations: 0 / 1.035 GB, free: 8.496 MB / 0.795 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)