Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_10_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.004744/0.004744, allocations: 95.39 kB / 15.73 MB, free: 6.055 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.001335/0.001335, allocations: 195.6 kB / 16.67 MB, free: 5.977 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.322/2.322, allocations: 437.1 MB / 0.7106 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 67.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2386, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004921/0.2435, allocations: 4.346 MB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003968/0.2475, allocations: 2.944 MB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.2477, allocations: 27.81 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007706/0.2485, allocations: 361.7 kB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.2495, allocations: 0.6487 MB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.2507, allocations: 0.6392 MB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.2524, allocations: 1.882 MB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.2527, allocations: 177.8 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006278/0.2533, allocations: 0.584 MB / 1.177 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007935/0.2541, allocations: 0.6538 MB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.2542, allocations: 76 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006228/0.2548, allocations: 415.4 kB / 1.179 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004426/0.2553, allocations: 462.7 kB / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005387/0.2558, allocations: 0.6022 MB / 1.18 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.2572, allocations: 1.471 MB / 1.181 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2573, allocations: 3.984 kB / 1.181 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2573, allocations: 4 kB / 1.181 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.2573, allocations: 0 / 1.181 GB, free: 7.922 MB / 0.9356 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.002681/0.26, allocations: 1.665 MB / 1.183 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.26, allocations: 11.98 kB / 1.183 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.787e-05/0.2601, allocations: 82.72 kB / 1.183 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.2603, allocations: 140 kB / 1.183 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.2615, allocations: 0.8514 MB / 1.184 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.2615, allocations: 45.38 kB / 1.184 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.878e-05/0.2616, allocations: 60.38 kB / 1.184 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/0.2624, allocations: 0.6137 MB / 1.184 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2625, allocations: 0 / 1.184 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.2625, allocations: 20 kB / 1.184 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.2625, allocations: 12 kB / 1.184 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007288/0.2632, allocations: 0.5582 MB / 1.185 GB, free: 3.738 MB / 0.9356 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.003992/0.2672, allocations: 3.275 MB / 1.188 GB, free: 220 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.2686, allocations: 0.8444 MB / 1.189 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.269, allocations: 371.6 kB / 1.189 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.04e-05/0.2691, allocations: 24.34 kB / 1.189 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.2691, allocations: 38.94 kB / 1.189 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 1.413e-06/0.2691, allocations: 4 kB / 1.189 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.001603/0.2707, allocations: 1.187 MB / 1.191 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.2708, allocations: 59.39 kB / 1.191 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.2722, allocations: 1.231 MB / 1.192 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.2723, allocations: 41.7 kB / 1.192 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.2726, allocations: 473.3 kB / 1.192 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.2728, allocations: 174.4 kB / 1.193 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.273, allocations: 218.6 kB / 1.193 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2732, allocations: 349.9 kB / 1.193 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/0.2739, allocations: 0.6503 MB / 1.194 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009794/0.2749, allocations: 0.963 MB / 1.195 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.2766, allocations: 1.59 MB / 1.196 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.2766, allocations: 4 kB / 1.196 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002151/0.2788, allocations: 1.784 MB / 1.198 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2788, allocations: 8.156 kB / 1.198 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.2788, allocations: 16 kB / 1.198 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.279, allocations: 52.83 kB / 1.198 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.28, allocations: 263.6 kB / 1.198 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.284, allocations: 6.84 MB / 1.205 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/0.2847, allocations: 131 kB / 1.205 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.2848, allocations: 40 kB / 1.205 GB, free: 14.18 MB / 0.9669 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.0003347/0.2851, allocations: 312 kB / 1.205 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.2853, allocations: 115.2 kB / 1.206 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.2864, allocations: 0.8426 MB / 1.206 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2865, allocations: 4 kB / 1.206 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.2865, allocations: 0 / 1.206 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2865, allocations: 3.984 kB / 1.206 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.2874, allocations: 0.9191 MB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2874, allocations: 0 / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.2879, allocations: 107.9 kB / 1.207 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.288, allocations: 40.77 kB / 1.207 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.2881, allocations: 19.98 kB / 1.207 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.2891, allocations: 1.433 MB / 1.209 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2891, allocations: 7.969 kB / 1.209 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.2907, allocations: 1.374 MB / 1.21 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.291, allocations: 272.1 kB / 1.21 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.2911, allocations: 15.98 kB / 1.21 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.2916, allocations: 23.97 kB / 1.21 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.2917, allocations: 23.97 kB / 1.21 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.2917, allocations: 19.97 kB / 1.211 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00101/0.2928, allocations: 0.8154 MB / 1.211 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2928, allocations: 0 / 1.211 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000792/0.2936, allocations: 367.6 kB / 1.212 GB, free: 7.238 MB / 0.9669 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.002213/0.2958, allocations: 2.092 MB / 1.214 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00218/0.298, allocations: 1.507 MB / 1.215 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.298, allocations: 3.938 kB / 1.215 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.2985, allocations: 478.5 kB / 1.216 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008747/0.2994, allocations: 233.9 kB / 1.216 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.3128, allocations: 11.57 MB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.3135, allocations: 1.098 MB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004285/0.3139, allocations: 203.1 kB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004833/0.3144, allocations: 399.3 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3144, allocations: 0 / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.582/5.896, allocations: 24.15 MB / 1.252 GB, free: 80.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.55/25.45, allocations: 10.73 kB / 1.252 GB, free: 80.11 MB / 0.9981 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)