Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.722/2.722, allocations: 252 MB / 267.3 MB, free: 10.81 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 172.8 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.722/2.722, allocations: 205.4 MB / 0.578 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 84.2 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005424/0.0005427, allocations: 6 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2483, allocations: 106.3 MB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004446/0.2528, allocations: 3.978 MB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005051/0.2578, allocations: 2.983 MB / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005136/0.2584, allocations: 15.88 kB / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.2594, allocations: 330.2 kB / 0.908 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.2609, allocations: 0.6095 MB / 0.9086 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.2626, allocations: 0.5459 MB / 0.9091 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.2649, allocations: 2.182 MB / 0.9113 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.2653, allocations: 153.9 kB / 0.9114 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009748/0.2662, allocations: 0.5213 MB / 0.9119 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009269/0.2672, allocations: 0.6733 MB / 0.9126 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.2673, allocations: 44 kB / 0.9126 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007601/0.2681, allocations: 391.4 kB / 0.913 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.2685, allocations: 422.6 kB / 0.9134 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005418/0.2691, allocations: 0.5766 MB / 0.914 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.2704, allocations: 1.401 MB / 0.9153 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2704, allocations: 0 / 0.9153 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2705, allocations: 0 / 0.9153 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.2705, allocations: 0 / 0.9153 GB, free: 48.58 MB / 0.6042 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.002952/0.2734, allocations: 1.472 MB / 0.9168 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.2735, allocations: 8.031 kB / 0.9168 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.2736, allocations: 82.72 kB / 0.9169 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.2739, allocations: 131.3 kB / 0.917 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.2754, allocations: 0.8192 MB / 0.9178 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.2755, allocations: 41.38 kB / 0.9178 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.2756, allocations: 64.38 kB / 0.9179 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/0.2765, allocations: 0.6138 MB / 0.9185 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2766, allocations: 3.938 kB / 0.9185 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.2766, allocations: 20 kB / 0.9185 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.2766, allocations: 12 kB / 0.9185 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/0.2775, allocations: 0.5582 MB / 0.9191 GB, free: 44.62 MB / 0.6042 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.005628/0.2832, allocations: 3.306 MB / 0.9223 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.2848, allocations: 0.84 MB / 0.9231 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.2853, allocations: 377.3 kB / 0.9235 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-05/0.2854, allocations: 24.3 kB / 0.9235 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2854, allocations: 38.94 kB / 0.9235 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 2.866e-06/0.2855, allocations: 0 / 0.9235 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.0022/0.2877, allocations: 1.186 MB / 0.9247 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.2877, allocations: 63.28 kB / 0.9248 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.2895, allocations: 1.227 MB / 0.926 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/0.2896, allocations: 45.64 kB / 0.926 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.29, allocations: 472.7 kB / 0.9265 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.2902, allocations: 157.6 kB / 0.9266 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.2903, allocations: 20 kB / 0.9266 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.2904, allocations: 357.9 kB / 0.927 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008807/0.2913, allocations: 0.6426 MB / 0.9276 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.2923, allocations: 0.9747 MB / 0.9285 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.2942, allocations: 1.586 MB / 0.9301 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.2942, allocations: 0 / 0.9301 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002758/0.297, allocations: 1.791 MB / 0.9318 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.297, allocations: 12.22 kB / 0.9319 GB, free: 30.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/0.2971, allocations: 12 kB / 0.9319 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/0.2973, allocations: 48.83 kB / 0.9319 GB, free: 30.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.299, allocations: 275.6 kB / 0.9322 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/0.3022, allocations: 6.733 MB / 0.9387 GB, free: 23.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.3036, allocations: 130.6 kB / 0.9389 GB, free: 23.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.3037, allocations: 40 kB / 0.9389 GB, free: 23.34 MB / 0.6042 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.0004961/0.3042, allocations: 310.9 kB / 0.9392 GB, free: 23.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.3044, allocations: 110.5 kB / 0.9393 GB, free: 22.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.3059, allocations: 0.8427 MB / 0.9401 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3059, allocations: 4 kB / 0.9401 GB, free: 22.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3059, allocations: 4 kB / 0.9401 GB, free: 22.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.3059, allocations: 3.984 kB / 0.9401 GB, free: 22.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.3072, allocations: 0.9151 MB / 0.941 GB, free: 21.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3072, allocations: 0 / 0.941 GB, free: 21.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006974/0.3079, allocations: 115.8 kB / 0.9412 GB, free: 20.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.3081, allocations: 32.83 kB / 0.9412 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.3081, allocations: 19.98 kB / 0.9412 GB, free: 20.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008285/0.309, allocations: 1.327 MB / 0.9425 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.309, allocations: 4.031 kB / 0.9425 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.3109, allocations: 1.389 MB / 0.9439 GB, free: 18.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004894/0.3114, allocations: 263.5 kB / 0.9441 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.3116, allocations: 12 kB / 0.9441 GB, free: 17.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008143/0.3124, allocations: 43.8 kB / 0.9442 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3126, allocations: 27.97 kB / 0.9442 GB, free: 17.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.3126, allocations: 12 kB / 0.9442 GB, free: 17.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001543/0.3142, allocations: 0.8271 MB / 0.945 GB, free: 16.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3142, allocations: 0 / 0.945 GB, free: 16.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001292/0.3155, allocations: 359.8 kB / 0.9454 GB, free: 16.5 MB / 0.6042 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.002658/0.3181, allocations: 2.099 MB / 0.9474 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002899/0.3211, allocations: 1.503 MB / 0.9489 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3211, allocations: 0 / 0.9489 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.3217, allocations: 482.9 kB / 0.9493 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.3233, allocations: 212.5 kB / 0.9495 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/0.3432, allocations: 12.51 MB / 0.9617 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.3443, allocations: 1.102 MB / 0.9628 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008957/0.3452, allocations: 203.1 kB / 0.963 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/0.346, allocations: 399.2 kB / 0.9634 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/0.346, allocations: 0 / 0.9634 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/0.4661, allocations: 22.73 MB / 0.9856 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004041/0.4665, allocations: 253.8 kB / 0.9858 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.056/5.523, allocations: 0 / 0.9858 GB, free: 6.723 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)