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.001528/0.001528, allocations: 109.4 kB / 15.69 MB, free: 128 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.002159/0.002159, allocations: 186.6 kB / 16.62 MB, free: 6.613 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.458/1.458, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.759/1.759, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001478/0.001478, allocations: 74.19 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2505, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005905/0.2565, allocations: 4.344 MB / 0.7879 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005268/0.2618, allocations: 2.987 MB / 0.7908 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006782/0.2625, allocations: 19.88 kB / 0.7908 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.2638, allocations: 361.7 kB / 0.7911 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.2656, allocations: 0.656 MB / 0.7918 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.2675, allocations: 0.6275 MB / 0.7924 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002368/0.2698, allocations: 1.882 MB / 0.7942 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.2702, allocations: 173.9 kB / 0.7944 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.2713, allocations: 0.5917 MB / 0.795 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008999/0.2722, allocations: 0.6499 MB / 0.7956 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.2724, allocations: 80 kB / 0.7957 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007531/0.2731, allocations: 411.4 kB / 0.7961 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.2736, allocations: 458.6 kB / 0.7965 GB, free: 20 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006176/0.2742, allocations: 0.61 MB / 0.7971 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.2758, allocations: 1.464 MB / 0.7985 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.2758, allocations: 8 kB / 0.7985 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2758, allocations: 0 / 0.7985 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.2758, allocations: 0 / 0.7985 GB, free: 13.93 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.003298/0.2791, allocations: 1.616 MB / 0.8001 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.2792, allocations: 8.031 kB / 0.8001 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.2793, allocations: 86.72 kB / 0.8002 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.2796, allocations: 131.3 kB / 0.8003 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.2812, allocations: 0.8504 MB / 0.8012 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.2812, allocations: 45.38 kB / 0.8012 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.2814, allocations: 60.38 kB / 0.8013 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009421/0.2823, allocations: 0.6138 MB / 0.8019 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2823, allocations: 3.984 kB / 0.8019 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.2824, allocations: 16 kB / 0.8019 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.2824, allocations: 16 kB / 0.8019 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/0.2831, allocations: 0.5543 MB / 0.8024 GB, free: 9.801 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.004986/0.2881, allocations: 3.27 MB / 0.8056 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.2895, allocations: 0.8478 MB / 0.8065 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004662/0.29, allocations: 373.1 kB / 0.8068 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.2901, allocations: 28.3 kB / 0.8068 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.2902, allocations: 34.94 kB / 0.8069 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 3.667e-06/0.2902, allocations: 0 / 0.8069 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001912/0.2921, allocations: 1.178 MB / 0.808 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.2921, allocations: 55.41 kB / 0.8081 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.2939, allocations: 1.227 MB / 0.8093 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.294, allocations: 37.7 kB / 0.8093 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.2944, allocations: 472.7 kB / 0.8098 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.2946, allocations: 173.6 kB / 0.8099 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.2949, allocations: 210.4 kB / 0.8101 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.295, allocations: 353.9 kB / 0.8105 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000785/0.2958, allocations: 0.6426 MB / 0.8111 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009623/0.2968, allocations: 0.9785 MB / 0.8121 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.2985, allocations: 1.586 MB / 0.8136 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/0.2985, allocations: 4 kB / 0.8136 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002417/0.3009, allocations: 1.779 MB / 0.8153 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.301, allocations: 18.84 kB / 0.8154 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.301, allocations: 12 kB / 0.8154 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002497/0.3013, allocations: 44.83 kB / 0.8154 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.3025, allocations: 259.7 kB / 0.8157 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004005/0.3065, allocations: 6.836 MB / 0.8223 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.3077, allocations: 122.7 kB / 0.8225 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.3078, allocations: 40 kB / 0.8225 GB, free: 4.293 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.0006117/0.3084, allocations: 310.9 kB / 0.8228 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.3088, allocations: 114.4 kB / 0.8229 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.3102, allocations: 0.8504 MB / 0.8237 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3103, allocations: 4 kB / 0.8237 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3103, allocations: 3.984 kB / 0.8237 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3103, allocations: 0 / 0.8237 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.3116, allocations: 0.9151 MB / 0.8246 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.3116, allocations: 0 / 0.8246 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.3122, allocations: 111.8 kB / 0.8247 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.3123, allocations: 36.84 kB / 0.8248 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.3124, allocations: 19.98 kB / 0.8248 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.3135, allocations: 1.445 MB / 0.8262 GB, free: 292 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3135, allocations: 0 / 0.8262 GB, free: 292 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.3153, allocations: 1.362 MB / 0.8275 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/0.3159, allocations: 267.4 kB / 0.8278 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.3161, allocations: 15.98 kB / 0.8278 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.3168, allocations: 23.97 kB / 0.8278 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.3169, allocations: 23.97 kB / 0.8279 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.3169, allocations: 19.98 kB / 0.8279 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001304/0.3182, allocations: 0.8194 MB / 0.8287 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3182, allocations: 3.938 kB / 0.8287 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001304/0.3196, allocations: 371.7 kB / 0.829 GB, free: 13.35 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.002584/0.3221, allocations: 2.096 MB / 0.8311 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002641/0.3248, allocations: 1.499 MB / 0.8325 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3248, allocations: 0 / 0.8325 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/0.3254, allocations: 482.3 kB / 0.833 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.3269, allocations: 227.8 kB / 0.8332 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/0.3436, allocations: 11.52 MB / 0.8445 GB, free: 13.05 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007888/0.3445, allocations: 1.094 MB / 0.8455 GB, free: 11.93 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006185/0.3451, allocations: 211.1 kB / 0.8457 GB, free: 11.72 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.3457, allocations: 399.7 kB / 0.8461 GB, free: 11.33 MB / 0.67 GB Notification: Performance of SimCode: time 7.62e-07/0.3457, allocations: 0 / 0.8461 GB, free: 11.33 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05992/0.4056, allocations: 23.91 MB / 0.8695 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.28, allocations: 20.47 kB / 0.8695 GB, free: 3.73 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)