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.001122/0.001122, allocations: 101.4 kB / 15.7 MB, free: 28 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.001221/0.001221, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.427/1.427, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.722/1.722, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001433/0.001433, allocations: 69.98 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2509, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005691/0.2566, allocations: 4.356 MB / 0.7879 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005151/0.2618, allocations: 2.978 MB / 0.7908 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006772/0.2625, allocations: 23.88 kB / 0.7908 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.2637, allocations: 357.7 kB / 0.7911 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.2652, allocations: 0.6454 MB / 0.7918 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.2669, allocations: 0.6306 MB / 0.7924 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00206/0.2689, allocations: 1.89 MB / 0.7942 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.2693, allocations: 177.9 kB / 0.7944 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007713/0.27, allocations: 0.5801 MB / 0.795 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008388/0.2709, allocations: 0.6577 MB / 0.7956 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.271, allocations: 76 kB / 0.7957 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006818/0.2717, allocations: 411.4 kB / 0.7961 GB, free: 464 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000447/0.2722, allocations: 474.6 kB / 0.7965 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.2727, allocations: 0.5945 MB / 0.7971 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.2742, allocations: 1.475 MB / 0.7986 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2742, allocations: 3.938 kB / 0.7986 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2742, allocations: 0 / 0.7986 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.2743, allocations: 4 kB / 0.7986 GB, free: 13.9 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.002851/0.2771, allocations: 1.608 MB / 0.8001 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2772, allocations: 8.031 kB / 0.8001 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.757e-05/0.2773, allocations: 90.64 kB / 0.8002 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.2774, allocations: 131.3 kB / 0.8003 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.2787, allocations: 0.8349 MB / 0.8012 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.2787, allocations: 45.36 kB / 0.8012 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.2788, allocations: 64.38 kB / 0.8013 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.2796, allocations: 0.6215 MB / 0.8019 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2797, allocations: 0 / 0.8019 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.2797, allocations: 16 kB / 0.8019 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.2797, allocations: 8 kB / 0.8019 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/0.2805, allocations: 0.5621 MB / 0.8024 GB, free: 9.785 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.004137/0.2846, allocations: 3.274 MB / 0.8056 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.2859, allocations: 0.8516 MB / 0.8065 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.2864, allocations: 365.1 kB / 0.8068 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.822e-05/0.2864, allocations: 28.34 kB / 0.8069 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.2865, allocations: 42.94 kB / 0.8069 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.843e-06/0.2865, allocations: 0 / 0.8069 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001644/0.2881, allocations: 1.171 MB / 0.808 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.2882, allocations: 55.41 kB / 0.8081 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.2897, allocations: 1.231 MB / 0.8093 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.2897, allocations: 45.7 kB / 0.8093 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.29, allocations: 464.7 kB / 0.8098 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.2902, allocations: 169.6 kB / 0.8099 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.2905, allocations: 210.5 kB / 0.8101 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2906, allocations: 357.9 kB / 0.8105 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007736/0.2914, allocations: 0.6387 MB / 0.8111 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/0.2924, allocations: 0.9748 MB / 0.8121 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.294, allocations: 1.586 MB / 0.8136 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.2941, allocations: 4 kB / 0.8136 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002276/0.2963, allocations: 1.783 MB / 0.8153 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.2964, allocations: 14.5 kB / 0.8154 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/0.2964, allocations: 12 kB / 0.8154 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.2966, allocations: 48.77 kB / 0.8154 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.2978, allocations: 267.9 kB / 0.8157 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004047/0.3018, allocations: 6.828 MB / 0.8223 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.3031, allocations: 130.7 kB / 0.8225 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.3032, allocations: 36 kB / 0.8225 GB, free: 4.27 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.0004624/0.3036, allocations: 308.1 kB / 0.8228 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.3038, allocations: 118.4 kB / 0.8229 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.305, allocations: 0.8425 MB / 0.8237 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.305, allocations: 7.938 kB / 0.8237 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.305, allocations: 0 / 0.8237 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.305, allocations: 3.984 kB / 0.8237 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.306, allocations: 0.9189 MB / 0.8246 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.306, allocations: 0 / 0.8246 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.3066, allocations: 111.9 kB / 0.8247 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.3067, allocations: 36.83 kB / 0.8248 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.3068, allocations: 12 kB / 0.8248 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.3078, allocations: 1.456 MB / 0.8262 GB, free: 264 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3078, allocations: 0 / 0.8262 GB, free: 264 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.3095, allocations: 1.354 MB / 0.8275 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/0.3099, allocations: 271.4 kB / 0.8278 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.3101, allocations: 12 kB / 0.8278 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.3107, allocations: 27.97 kB / 0.8278 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.3108, allocations: 31.89 kB / 0.8279 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.3108, allocations: 12 kB / 0.8279 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001114/0.3119, allocations: 0.8194 MB / 0.8287 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3119, allocations: 0 / 0.8287 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001084/0.313, allocations: 367.7 kB / 0.829 GB, free: 13.33 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.002311/0.3153, allocations: 2.088 MB / 0.8311 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002563/0.3179, allocations: 1.507 MB / 0.8325 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3179, allocations: 0 / 0.8325 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005716/0.3185, allocations: 486.3 kB / 0.833 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.3197, allocations: 227.9 kB / 0.8332 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.3347, allocations: 11.52 MB / 0.8445 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008229/0.3355, allocations: 1.11 MB / 0.8456 GB, free: 11.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006451/0.3362, allocations: 199.1 kB / 0.8457 GB, free: 11.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005917/0.3368, allocations: 403.2 kB / 0.8461 GB, free: 11.31 MB / 0.67 GB Notification: Performance of SimCode: time 1.984e-06/0.3368, allocations: 3.938 kB / 0.8461 GB, free: 11.31 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07318/0.41, allocations: 23.91 MB / 0.8695 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.04, allocations: 15.17 kB / 0.8695 GB, free: 3.707 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)