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.001021/0.001021, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008471/0.008471, allocations: 170 kB / 16.26 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.348/1.348, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.662/1.662, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0008191/0.0008191, allocations: 12.72 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2006, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003989/0.2047, allocations: 3.974 MB / 0.7919 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004396/0.2091, allocations: 2.975 MB / 0.7948 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.2095, allocations: 15.88 kB / 0.7948 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.2103, allocations: 322.3 kB / 0.7951 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.2114, allocations: 0.599 MB / 0.7957 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2125, allocations: 0.5491 MB / 0.7962 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.2144, allocations: 2.194 MB / 0.7984 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.2147, allocations: 149.9 kB / 0.7985 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005623/0.2152, allocations: 0.5097 MB / 0.799 GB, free: 144 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007611/0.216, allocations: 0.6734 MB / 0.7997 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.294e-05/0.2161, allocations: 44 kB / 0.7997 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005512/0.2167, allocations: 387.3 kB / 0.8001 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.217, allocations: 418.7 kB / 0.8005 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.2175, allocations: 0.5922 MB / 0.801 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.2187, allocations: 1.409 MB / 0.8024 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2187, allocations: 0 / 0.8024 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2187, allocations: 3.938 kB / 0.8024 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.2187, allocations: 0 / 0.8024 GB, free: 12.61 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.002386/0.2211, allocations: 1.457 MB / 0.8038 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2211, allocations: 12.03 kB / 0.8039 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.511e-05/0.2212, allocations: 82.7 kB / 0.8039 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.2214, allocations: 131.3 kB / 0.8041 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.2225, allocations: 0.8115 MB / 0.8049 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.2226, allocations: 49.36 kB / 0.8049 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.449e-05/0.2227, allocations: 64.28 kB / 0.805 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008286/0.2235, allocations: 0.6215 MB / 0.8056 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2235, allocations: 0 / 0.8056 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.2236, allocations: 16 kB / 0.8056 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.2236, allocations: 12 kB / 0.8056 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.2243, allocations: 0.566 MB / 0.8062 GB, free: 8.664 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.003964/0.2283, allocations: 3.302 MB / 0.8094 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.2296, allocations: 0.8506 MB / 0.8102 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/0.2301, allocations: 369.1 kB / 0.8106 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.006e-05/0.2301, allocations: 24.36 kB / 0.8106 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.2302, allocations: 38.94 kB / 0.8106 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.553e-06/0.2302, allocations: 4 kB / 0.8106 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001647/0.2318, allocations: 1.186 MB / 0.8118 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.2319, allocations: 55.41 kB / 0.8118 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.2334, allocations: 1.227 MB / 0.813 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.2334, allocations: 41.7 kB / 0.8131 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.2338, allocations: 464.7 kB / 0.8135 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.2339, allocations: 177.5 kB / 0.8137 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.234, allocations: 121.6 kB / 0.8138 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2342, allocations: 361.9 kB / 0.8141 GB, free: 136 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/0.2349, allocations: 0.6426 MB / 0.8148 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009614/0.2359, allocations: 0.9708 MB / 0.8157 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.2376, allocations: 1.586 MB / 0.8173 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2376, allocations: 0 / 0.8173 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002171/0.2397, allocations: 1.791 MB / 0.819 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2398, allocations: 12.06 kB / 0.819 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.2398, allocations: 12 kB / 0.819 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.24, allocations: 44.83 kB / 0.8191 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.2411, allocations: 267.6 kB / 0.8193 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/0.2445, allocations: 6.737 MB / 0.8259 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008471/0.2454, allocations: 130.7 kB / 0.826 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.2454, allocations: 43.98 kB / 0.8261 GB, free: 3.281 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.0003413/0.2458, allocations: 313.5 kB / 0.8264 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.2459, allocations: 106.6 kB / 0.8265 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.2471, allocations: 0.8501 MB / 0.8273 GB, free: 2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.2471, allocations: 7.984 kB / 0.8273 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2471, allocations: 0 / 0.8273 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2471, allocations: 7.922 kB / 0.8273 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.2481, allocations: 0.9113 MB / 0.8282 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2481, allocations: 0 / 0.8282 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.2486, allocations: 123.7 kB / 0.8283 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.2487, allocations: 28.84 kB / 0.8284 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.2488, allocations: 15.98 kB / 0.8284 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008493/0.2496, allocations: 1.331 MB / 0.8297 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2497, allocations: 3.938 kB / 0.8297 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.2512, allocations: 1.366 MB / 0.831 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.2516, allocations: 271.4 kB / 0.8313 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.2517, allocations: 12 kB / 0.8313 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/0.2523, allocations: 39.95 kB / 0.8313 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.2523, allocations: 19.97 kB / 0.8313 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.2524, allocations: 19.98 kB / 0.8314 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001018/0.2534, allocations: 0.8193 MB / 0.8322 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2534, allocations: 4 kB / 0.8322 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008657/0.2543, allocations: 363.7 kB / 0.8325 GB, free: 12.44 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.002261/0.2566, allocations: 2.1 MB / 0.8346 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002272/0.2588, allocations: 1.511 MB / 0.836 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.2589, allocations: 0 / 0.836 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00056/0.2594, allocations: 494.8 kB / 0.8365 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.2605, allocations: 211.3 kB / 0.8367 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.2753, allocations: 12.5 MB / 0.8489 GB, free: 11.03 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.2759, allocations: 1.106 MB / 0.85 GB, free: 9.895 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004904/0.2764, allocations: 203.1 kB / 0.8502 GB, free: 9.691 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000479/0.2769, allocations: 395.3 kB / 0.8506 GB, free: 9.305 MB / 0.67 GB Notification: Performance of SimCode: time 3e-07/0.2769, allocations: 0 / 0.8506 GB, free: 9.305 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.672/0.9489, allocations: 22.73 MB / 0.8728 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.9492, allocations: 235.3 kB / 0.873 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.322, allocations: 0 / 0.873 GB, free: 2.668 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)