Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.3 MB / 405.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 165.1 kB / 498.1 MB, free: 5.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009379/0.0009379, allocations: 94.81 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004801, allocations: 6.906 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3088, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.5073, allocations: 159 MB / 1.378 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.5076, allocations: 79.97 kB / 1.378 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1055/0.6132, allocations: 28.98 MB / 1.407 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.195e-06/0.6132, allocations: 0 / 1.407 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001407/0.6134, allocations: 24 kB / 1.407 GB, free: 5.773 MB / 0.9011 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.005472/0.6189, allocations: 1.57 MB / 1.408 GB, free: 4.152 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.6189, allocations: 8.031 kB / 1.408 GB, free: 4.145 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002365/0.6192, allocations: 82.52 kB / 1.408 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006847/0.6199, allocations: 134.3 kB / 1.408 GB, free: 3.922 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004619/0.6245, allocations: 1.553 MB / 1.41 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.6246, allocations: 44.94 kB / 1.41 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.6248, allocations: 67.95 kB / 1.41 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.626, allocations: 0.6644 MB / 1.411 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.626, allocations: 0 / 1.411 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.6261, allocations: 16 kB / 1.411 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.6261, allocations: 12 kB / 1.411 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.6271, allocations: 0.6322 MB / 1.411 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004959/0.6321, allocations: 2.754 MB / 1.414 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.6337, allocations: 0.9189 MB / 1.415 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.724e-05/0.6338, allocations: 28.36 kB / 1.415 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.6338, allocations: 34.94 kB / 1.415 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=45): time 2.915e-06/0.6338, allocations: 0 / 1.415 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=45): time 0.002153/0.636, allocations: 1.309 MB / 1.416 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.636, allocations: 55.41 kB / 1.416 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.6378, allocations: 1.045 MB / 1.417 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-05/0.6379, allocations: 41.7 kB / 1.417 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.6383, allocations: 468.7 kB / 1.418 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.6385, allocations: 173.5 kB / 1.418 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.6385, allocations: 12 kB / 1.418 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.6387, allocations: 357.9 kB / 1.418 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007895/0.6395, allocations: 0.5449 MB / 1.419 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009596/0.6405, allocations: 0.8693 MB / 1.42 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/0.6414, allocations: 0.6506 MB / 1.42 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.6414, allocations: 4 kB / 1.42 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002568/0.644, allocations: 1.603 MB / 1.422 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.644, allocations: 8 kB / 1.422 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/0.6441, allocations: 12 kB / 1.422 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/0.6443, allocations: 52.77 kB / 1.422 GB, free: 5.574 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.6459, allocations: 363.9 kB / 1.422 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5521/1.198, allocations: 6.831 MB / 1.429 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/1.2, allocations: 149 kB / 1.429 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.2, allocations: 65.81 kB / 1.429 GB, free: 181.5 MB / 0.9167 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.0005441/1.2, allocations: 304.7 kB / 1.429 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/1.201, allocations: 108.4 kB / 1.429 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/1.202, allocations: 1.028 MB / 1.431 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/1.202, allocations: 9.188 kB / 1.431 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.202, allocations: 0.6094 kB / 1.431 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.202, allocations: 1.734 kB / 1.431 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/1.204, allocations: 0.9538 MB / 1.431 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.204, allocations: 4.094 kB / 1.431 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/1.204, allocations: 122.3 kB / 1.432 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/1.204, allocations: 32.86 kB / 1.432 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/1.204, allocations: 24.48 kB / 1.432 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007612/1.205, allocations: 1.344 MB / 1.433 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.205, allocations: 6.312 kB / 1.433 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/1.207, allocations: 1.523 MB / 1.434 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/1.208, allocations: 365.8 kB / 1.435 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.208, allocations: 14.84 kB / 1.435 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007592/1.209, allocations: 59.61 kB / 1.435 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/1.209, allocations: 37.14 kB / 1.435 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/1.209, allocations: 32.03 kB / 1.435 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001185/1.21, allocations: 0.7762 MB / 1.436 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.41e-07/1.21, allocations: 0 / 1.436 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001287/1.211, allocations: 382.3 kB / 1.436 GB, free: 179.3 MB / 0.9167 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.002547/1.214, allocations: 2.097 MB / 1.438 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002466/1.217, allocations: 1.531 MB / 1.44 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.217, allocations: 3.844 kB / 1.44 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005834/1.217, allocations: 485.1 kB / 1.44 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009165/1.218, allocations: 209.2 kB / 1.44 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/1.224, allocations: 10.7 MB / 1.451 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/1.224, allocations: 1.124 MB / 1.452 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006748/1.225, allocations: 207.2 kB / 1.452 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/1.226, allocations: 401 kB / 1.452 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of SimCode: time 7.92e-07/1.226, allocations: 0 / 1.452 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04632/1.272, allocations: 24.1 MB / 1.476 GB, free: 165.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/1.272, allocations: 219.1 kB / 1.476 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.963, allocations: 0 / 1.476 GB, free: 165.6 MB / 0.9167 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat does not exist to compare? outputFormat=mat