Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_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.0009129/0.0009129, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009894/0.0009894, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.646/2.646, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003953, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7542, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004552/0.7588, allocations: 3.775 MB / 0.9848 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005077/0.7639, allocations: 2.796 MB / 0.9875 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006866/0.7647, allocations: 19.88 kB / 0.9876 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008899/0.7656, allocations: 298.4 kB / 0.9878 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.7669, allocations: 0.5678 MB / 0.9884 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.7684, allocations: 0.5058 MB / 0.9889 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002121/0.7705, allocations: 1.773 MB / 0.9906 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.7708, allocations: 148.5 kB / 0.9908 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007537/0.7716, allocations: 0.5176 MB / 0.9913 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008505/0.7725, allocations: 0.6657 MB / 0.9919 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.7726, allocations: 44 kB / 0.992 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006673/0.7733, allocations: 307.6 kB / 0.9923 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004975/0.7738, allocations: 426.7 kB / 0.9927 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.7741, allocations: 237 kB / 0.9929 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.7752, allocations: 1.068 MB / 0.9939 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.7752, allocations: 0 / 0.9939 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.016e-06/0.7752, allocations: 0 / 0.9939 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.7752, allocations: 0 / 0.9939 GB, free: 9.047 MB / 0.7481 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.003155/0.7784, allocations: 1.484 MB / 0.9954 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.7784, allocations: 12.03 kB / 0.9954 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.086e-05/0.7785, allocations: 74.53 kB / 0.9955 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.7787, allocations: 138.4 kB / 0.9956 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.7799, allocations: 0.7644 MB / 0.9963 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.78, allocations: 45 kB / 0.9964 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.7801, allocations: 63.91 kB / 0.9964 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/0.7811, allocations: 0.6176 MB / 0.997 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.7811, allocations: 0 / 0.997 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.7811, allocations: 16 kB / 0.9971 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.7811, allocations: 8 kB / 0.9971 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008009/0.782, allocations: 0.5621 MB / 0.9976 GB, free: 5.133 MB / 0.7481 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.004281/0.7862, allocations: 3.309 MB / 1.001 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.7876, allocations: 0.8452 MB / 1.002 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004477/0.788, allocations: 365.4 kB / 1.002 GB, free: 368 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.89e-05/0.7881, allocations: 28.34 kB / 1.002 GB, free: 340 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.7882, allocations: 34.94 kB / 1.002 GB, free: 296 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 2.885e-06/0.7882, allocations: 0 / 1.002 GB, free: 296 kB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.001842/0.79, allocations: 1.195 MB / 1.003 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.7901, allocations: 55.41 kB / 1.003 GB, free: 15 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.7917, allocations: 1.216 MB / 1.004 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.7917, allocations: 41.7 kB / 1.005 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.7921, allocations: 460.7 kB / 1.005 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.7923, allocations: 173.5 kB / 1.005 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.7923, allocations: 19.94 kB / 1.005 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7924, allocations: 353.9 kB / 1.005 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/0.7932, allocations: 0.6426 MB / 1.006 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009763/0.7942, allocations: 0.9669 MB / 1.007 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009183/0.7951, allocations: 0.7481 MB / 1.008 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.7951, allocations: 4 kB / 1.008 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002353/0.7975, allocations: 1.779 MB / 1.01 GB, free: 8.434 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.7975, allocations: 8 kB / 1.01 GB, free: 8.426 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/0.7976, allocations: 12 kB / 1.01 GB, free: 8.414 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002586/0.7978, allocations: 48.83 kB / 1.01 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.799, allocations: 276 kB / 1.01 GB, free: 8.094 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004384/0.8034, allocations: 6.733 MB / 1.016 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.8047, allocations: 134.8 kB / 1.017 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.8048, allocations: 43.94 kB / 1.017 GB, free: 0.8672 MB / 0.7637 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.0005155/0.8053, allocations: 305.4 kB / 1.017 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.8055, allocations: 106.6 kB / 1.017 GB, free: 464 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.8067, allocations: 0.8569 MB / 1.018 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.8067, allocations: 4 kB / 1.018 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.8067, allocations: 0 / 1.018 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.8067, allocations: 3.984 kB / 1.018 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.8078, allocations: 0.9151 MB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.8078, allocations: 0 / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.8083, allocations: 111.8 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.8084, allocations: 36.83 kB / 1.019 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/0.8085, allocations: 19.98 kB / 1.019 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009256/0.8094, allocations: 1.331 MB / 1.02 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8095, allocations: 0 / 1.02 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.8111, allocations: 1.373 MB / 1.022 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.8115, allocations: 267.6 kB / 1.022 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.8116, allocations: 15.98 kB / 1.022 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/0.8121, allocations: 32.02 kB / 1.022 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.8122, allocations: 31.89 kB / 1.022 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.8123, allocations: 12 kB / 1.022 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001112/0.8134, allocations: 0.8115 MB / 1.023 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8134, allocations: 4 kB / 1.023 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001119/0.8145, allocations: 363.7 kB / 1.023 GB, free: 10.04 MB / 0.7794 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.002352/0.8169, allocations: 2.013 MB / 1.025 GB, free: 8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002523/0.8194, allocations: 1.507 MB / 1.026 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8194, allocations: 0.75 kB / 1.026 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005698/0.82, allocations: 478.4 kB / 1.027 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.8212, allocations: 218.5 kB / 1.027 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.8348, allocations: 8.888 MB / 1.036 GB, free: 12.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008781/0.8357, allocations: 1.098 MB / 1.037 GB, free: 11.39 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006977/0.8364, allocations: 203.1 kB / 1.037 GB, free: 11.19 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006344/0.8371, allocations: 399.3 kB / 1.037 GB, free: 10.8 MB / 0.795 GB Notification: Performance of SimCode: time 1.252e-06/0.8371, allocations: 0 / 1.037 GB, free: 10.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04206/0.8792, allocations: 23.49 MB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.8794, allocations: 229.6 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.212, allocations: 0 / 1.061 GB, free: 3.438 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat does not exist to compare? outputFormat=mat