Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_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.001094/0.001094, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001166, allocations: 195.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 66.98 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2381, allocations: 114.5 MB / 0.7834 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005954/0.2441, allocations: 4.352 MB / 0.7877 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005753/0.2498, allocations: 2.988 MB / 0.7906 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008698/0.2508, allocations: 23.88 kB / 0.7906 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.2522, allocations: 353.7 kB / 0.791 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.2541, allocations: 0.6493 MB / 0.7916 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.256, allocations: 0.6343 MB / 0.7922 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003031/0.2591, allocations: 1.874 MB / 0.7941 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004984/0.2596, allocations: 185.9 kB / 0.7942 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.2611, allocations: 0.5801 MB / 0.7948 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.2627, allocations: 0.6734 MB / 0.7955 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003922/0.2631, allocations: 76 kB / 0.7955 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.2643, allocations: 403.4 kB / 0.7959 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007278/0.265, allocations: 462.6 kB / 0.7964 GB, free: 120 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.2664, allocations: 0.5946 MB / 0.7969 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.2686, allocations: 1.46 MB / 0.7984 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2686, allocations: 0 / 0.7984 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2687, allocations: 0 / 0.7984 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.488e-05/0.2687, allocations: 0 / 0.7984 GB, free: 14.05 MB / 0.6231 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.004137/0.2729, allocations: 1.612 MB / 0.7999 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.2729, allocations: 16.02 kB / 0.8 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.2731, allocations: 78.72 kB / 0.8 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.2735, allocations: 135.3 kB / 0.8002 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.275, allocations: 0.8192 MB / 0.801 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.2751, allocations: 45.38 kB / 0.801 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.2752, allocations: 64.36 kB / 0.8011 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009456/0.2761, allocations: 0.6176 MB / 0.8017 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2761, allocations: 0 / 0.8017 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.2762, allocations: 16 kB / 0.8017 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.2762, allocations: 12 kB / 0.8017 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008147/0.277, allocations: 0.5582 MB / 0.8022 GB, free: 9.953 MB / 0.6231 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.004684/0.2817, allocations: 3.286 MB / 0.8054 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.2832, allocations: 0.8517 MB / 0.8063 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.2837, allocations: 373.1 kB / 0.8066 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.708e-05/0.2838, allocations: 20.36 kB / 0.8067 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.2839, allocations: 34.94 kB / 0.8067 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.876e-06/0.2839, allocations: 0 / 0.8067 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001994/0.2859, allocations: 1.174 MB / 0.8078 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.2859, allocations: 63.41 kB / 0.8079 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.2879, allocations: 1.227 MB / 0.8091 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.288, allocations: 41.7 kB / 0.8091 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.2883, allocations: 460.7 kB / 0.8096 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.2885, allocations: 173.6 kB / 0.8097 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.2888, allocations: 210.5 kB / 0.8099 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.289, allocations: 357.9 kB / 0.8103 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000755/0.2897, allocations: 0.6426 MB / 0.8109 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000967/0.2907, allocations: 0.9708 MB / 0.8119 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.2924, allocations: 1.586 MB / 0.8134 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-06/0.2924, allocations: 4 kB / 0.8134 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002309/0.2947, allocations: 1.783 MB / 0.8151 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.2948, allocations: 8 kB / 0.8152 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-05/0.2948, allocations: 12 kB / 0.8152 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.295, allocations: 57.27 kB / 0.8152 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.2962, allocations: 271.6 kB / 0.8155 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004199/0.3004, allocations: 6.828 MB / 0.8221 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3016, allocations: 130.8 kB / 0.8223 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.3018, allocations: 40 kB / 0.8223 GB, free: 4.426 MB / 0.6387 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.0006097/0.3024, allocations: 299.9 kB / 0.8226 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/0.3028, allocations: 118.4 kB / 0.8227 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.3044, allocations: 0.8464 MB / 0.8235 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.3044, allocations: 4 kB / 0.8235 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.3045, allocations: 0 / 0.8235 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.3045, allocations: 3.938 kB / 0.8235 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.3062, allocations: 0.919 MB / 0.8244 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.3063, allocations: 0 / 0.8244 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.3068, allocations: 111.8 kB / 0.8245 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.307, allocations: 40.83 kB / 0.8246 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.3071, allocations: 12 kB / 0.8246 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.3083, allocations: 1.449 MB / 0.826 GB, free: 432 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3084, allocations: 0 / 0.826 GB, free: 432 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.3102, allocations: 1.358 MB / 0.8273 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/0.3108, allocations: 271.4 kB / 0.8276 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.311, allocations: 12 kB / 0.8276 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.3117, allocations: 27.97 kB / 0.8276 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.3118, allocations: 31.89 kB / 0.8277 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.3118, allocations: 8 kB / 0.8277 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001249/0.3131, allocations: 0.8194 MB / 0.8285 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3131, allocations: 4 kB / 0.8285 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001183/0.3143, allocations: 367.7 kB / 0.8288 GB, free: 13.49 MB / 0.6544 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.002485/0.3168, allocations: 2.096 MB / 0.8309 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.3196, allocations: 1.608 MB / 0.8324 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3196, allocations: 0 / 0.8324 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006616/0.3203, allocations: 482.6 kB / 0.8329 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.3216, allocations: 218.3 kB / 0.8331 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/0.3404, allocations: 12.04 MB / 0.8449 GB, free: 12.46 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009978/0.3414, allocations: 1.098 MB / 0.8459 GB, free: 11.33 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007318/0.3422, allocations: 199.1 kB / 0.8461 GB, free: 11.13 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007372/0.3429, allocations: 399.3 kB / 0.8465 GB, free: 10.74 MB / 0.67 GB Notification: Performance of SimCode: time 1.293e-06/0.343, allocations: 0 / 0.8465 GB, free: 10.74 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0599/0.4029, allocations: 23.86 MB / 0.8698 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.81, allocations: 19.73 kB / 0.8698 GB, free: 3.168 MB / 0.6856 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)