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 1.394/1.394, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001226/0.001227, allocations: 186.7 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009466/0.0009465, allocations: 100.2 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 11.28 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2094, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/0.3785, allocations: 141.4 MB / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.3787, allocations: 83.95 kB / 1.038 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5535/0.9322, allocations: 28.69 MB / 1.066 GB, free: 143.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9323, allocations: 0 / 1.066 GB, free: 143.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.618e-05/0.9324, allocations: 24.31 kB / 1.066 GB, free: 143.8 MB / 0.698 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.005215/0.9376, allocations: 1.568 MB / 1.068 GB, free: 143 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.9377, allocations: 9.844 kB / 1.068 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.9378, allocations: 83.11 kB / 1.068 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.9382, allocations: 135.3 kB / 1.068 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003928/0.9421, allocations: 1.548 MB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.645e-05/0.9422, allocations: 44.69 kB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.9423, allocations: 64.41 kB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.9435, allocations: 0.6613 MB / 1.07 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.9436, allocations: 2.5 kB / 1.07 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.9436, allocations: 19.31 kB / 1.07 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.9437, allocations: 10.09 kB / 1.07 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.9447, allocations: 0.6319 MB / 1.071 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004328/0.9491, allocations: 2.752 MB / 1.074 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.9507, allocations: 0.9158 MB / 1.075 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.502e-05/0.9508, allocations: 35.47 kB / 1.075 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.9509, allocations: 35.97 kB / 1.075 GB, free: 141.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.194e-06/0.9509, allocations: 2.531 kB / 1.075 GB, free: 141.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.002346/0.9532, allocations: 1.301 MB / 1.076 GB, free: 141.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.9533, allocations: 56.09 kB / 1.076 GB, free: 141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.9549, allocations: 1.052 MB / 1.077 GB, free: 140.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.955, allocations: 39.58 kB / 1.077 GB, free: 140.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.9554, allocations: 467.5 kB / 1.078 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.9556, allocations: 171.6 kB / 1.078 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.9556, allocations: 17.69 kB / 1.078 GB, free: 140.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.9558, allocations: 353.8 kB / 1.078 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000852/0.9566, allocations: 0.549 MB / 1.079 GB, free: 140.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.9578, allocations: 0.8657 MB / 1.079 GB, free: 139.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009696/0.9587, allocations: 0.6495 MB / 1.08 GB, free: 139.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.9588, allocations: 7.312 kB / 1.08 GB, free: 139.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002716/0.9615, allocations: 1.606 MB / 1.082 GB, free: 139.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.9615, allocations: 8.812 kB / 1.082 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/0.9616, allocations: 12.94 kB / 1.082 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.9618, allocations: 46.34 kB / 1.082 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.9634, allocations: 366.1 kB / 1.082 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/0.9672, allocations: 6.838 MB / 1.089 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.969, allocations: 144.2 kB / 1.089 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.9692, allocations: 66.69 kB / 1.089 GB, free: 133.6 MB / 0.698 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 (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000744/0.9699, allocations: 312.6 kB / 1.089 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/0.9703, allocations: 113.2 kB / 1.089 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.9721, allocations: 1.016 MB / 1.09 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.9721, allocations: 8.781 kB / 1.09 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9722, allocations: 3.953 kB / 1.09 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.9722, allocations: 6.438 kB / 1.09 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.9734, allocations: 0.9688 MB / 1.091 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9734, allocations: 0 / 1.091 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.9739, allocations: 119.7 kB / 1.091 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.9741, allocations: 33.7 kB / 1.091 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.9741, allocations: 22.39 kB / 1.091 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007829/0.9749, allocations: 1.341 MB / 1.093 GB, free: 131.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.9749, allocations: 8.016 kB / 1.093 GB, free: 131.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.9767, allocations: 1.522 MB / 1.094 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006663/0.9774, allocations: 365.4 kB / 1.095 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.9776, allocations: 18.91 kB / 1.095 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/0.9783, allocations: 56.89 kB / 1.095 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.9785, allocations: 29.09 kB / 1.095 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.9785, allocations: 33.55 kB / 1.095 GB, free: 131.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009428/0.9795, allocations: 0.7796 MB / 1.095 GB, free: 130.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9795, allocations: 0 / 1.095 GB, free: 130.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001458/0.9809, allocations: 382.5 kB / 1.096 GB, free: 130.8 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00211/0.9831, allocations: 2.093 MB / 1.098 GB, free: 129.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00221/0.9853, allocations: 1.526 MB / 1.099 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9853, allocations: 4.062 kB / 1.099 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.9858, allocations: 481.8 kB / 1.1 GB, free: 128.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/0.9867, allocations: 211.8 kB / 1.1 GB, free: 128.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/0.9921, allocations: 10.7 MB / 1.111 GB, free: 118.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.9926, allocations: 1.118 MB / 1.112 GB, free: 117.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005638/0.9932, allocations: 210.6 kB / 1.112 GB, free: 117.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.9936, allocations: 403.3 kB / 1.112 GB, free: 117.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/0.9936, allocations: 0 / 1.112 GB, free: 117.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/1.033, allocations: 24.09 MB / 1.136 GB, free: 93.47 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/1.033, allocations: 228.5 kB / 1.136 GB, free: 93.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/3.804, allocations: 0 / 1.136 GB, free: 93.23 MB / 0.698 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)