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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001248/0.001248, allocations: 168.7 kB / 15.95 MB, free: 200 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.564/2.564, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 15.94 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6433/0.6437, allocations: 142.3 MB / 0.9538 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003283/0.647, allocations: 3.771 MB / 0.9575 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003566/0.6506, allocations: 2.796 MB / 0.9603 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.651, allocations: 19.34 kB / 0.9603 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007107/0.6517, allocations: 299.2 kB / 0.9606 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009015/0.6526, allocations: 0.5799 MB / 0.9611 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.6536, allocations: 0.5062 MB / 0.9616 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.6552, allocations: 1.769 MB / 0.9633 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.6555, allocations: 148.6 kB / 0.9635 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006173/0.6561, allocations: 0.5172 MB / 0.964 GB, free: 372 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00075/0.6568, allocations: 0.6651 MB / 0.9646 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.74e-05/0.6569, allocations: 39.16 kB / 0.9647 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.6575, allocations: 309.7 kB / 0.965 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.658, allocations: 424.5 kB / 0.9654 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.6583, allocations: 235 kB / 0.9656 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.6593, allocations: 1.069 MB / 0.9666 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6593, allocations: 0.8125 kB / 0.9666 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6593, allocations: 0 / 0.9666 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.6593, allocations: 0 / 0.9666 GB, free: 14.77 MB / 0.7325 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.00255/0.6619, allocations: 1.483 MB / 0.9681 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6619, allocations: 9.344 kB / 0.9681 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.691e-05/0.662, allocations: 80.72 kB / 0.9682 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.6622, allocations: 135 kB / 0.9683 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.6635, allocations: 0.7672 MB / 0.9691 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.6636, allocations: 55.56 kB / 0.9691 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-05/0.6637, allocations: 65.12 kB / 0.9692 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008789/0.6646, allocations: 0.6037 MB / 0.9698 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.6646, allocations: 1 kB / 0.9698 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.6646, allocations: 19.47 kB / 0.9698 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.6646, allocations: 10.81 kB / 0.9698 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007794/0.6654, allocations: 0.569 MB / 0.9703 GB, free: 12.32 MB / 0.7325 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.004254/0.6697, allocations: 3.3 MB / 0.9736 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.671, allocations: 0.8449 MB / 0.9744 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004744/0.6715, allocations: 362.9 kB / 0.9747 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.187e-05/0.6716, allocations: 24.78 kB / 0.9748 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.6716, allocations: 37.38 kB / 0.9748 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 1.914e-06/0.6716, allocations: 0 / 0.9748 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.001729/0.6734, allocations: 1.193 MB / 0.976 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.6734, allocations: 60.61 kB / 0.976 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.675, allocations: 1.217 MB / 0.9772 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.675, allocations: 41.7 kB / 0.9773 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.6754, allocations: 472.7 kB / 0.9777 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.6756, allocations: 173.4 kB / 0.9779 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.6756, allocations: 20 kB / 0.9779 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6758, allocations: 345.9 kB / 0.9782 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007794/0.6766, allocations: 0.6426 MB / 0.9788 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009797/0.6775, allocations: 0.9747 MB / 0.9798 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009048/0.6785, allocations: 0.7404 MB / 0.9805 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6785, allocations: 7.938 kB / 0.9805 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002265/0.6807, allocations: 1.779 MB / 0.9823 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.6808, allocations: 8.781 kB / 0.9823 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.6808, allocations: 12 kB / 0.9823 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.681, allocations: 56.78 kB / 0.9823 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.6821, allocations: 263.6 kB / 0.9826 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.686, allocations: 6.733 MB / 0.9892 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.687, allocations: 134.7 kB / 0.9893 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.6871, allocations: 40 kB / 0.9893 GB, free: 10.79 MB / 0.7481 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.000467/0.6875, allocations: 305.4 kB / 0.9896 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.6877, allocations: 106.6 kB / 0.9897 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.6889, allocations: 0.853 MB / 0.9906 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.689, allocations: 4 kB / 0.9906 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.689, allocations: 0 / 0.9906 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.689, allocations: 3.984 kB / 0.9906 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.69, allocations: 0.9151 MB / 0.9915 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6901, allocations: 0 / 0.9915 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/0.6906, allocations: 115.9 kB / 0.9916 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.6907, allocations: 28.83 kB / 0.9916 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.6907, allocations: 23.98 kB / 0.9916 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009306/0.6917, allocations: 1.338 MB / 0.9929 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6917, allocations: 0 / 0.9929 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.6933, allocations: 1.366 MB / 0.9943 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.6937, allocations: 267.4 kB / 0.9945 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.6938, allocations: 16.09 kB / 0.9945 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/0.6944, allocations: 39.84 kB / 0.9946 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.6945, allocations: 27.95 kB / 0.9946 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.6945, allocations: 12 kB / 0.9946 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001116/0.6956, allocations: 0.8115 MB / 0.9954 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6956, allocations: 0 / 0.9954 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001061/0.6967, allocations: 363.7 kB / 0.9957 GB, free: 3.969 MB / 0.7481 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.002196/0.6989, allocations: 2.015 MB / 0.9977 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002354/0.7013, allocations: 1.506 MB / 0.9992 GB, free: 400 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7013, allocations: 0 / 0.9992 GB, free: 400 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005972/0.7019, allocations: 482.5 kB / 0.9996 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.703, allocations: 211.6 kB / 0.9998 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.7153, allocations: 8.881 MB / 1.009 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/0.7161, allocations: 1.098 MB / 1.01 GB, free: 5.332 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005801/0.7166, allocations: 203.1 kB / 1.01 GB, free: 5.129 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/0.7172, allocations: 399.3 kB / 1.01 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of SimCode: time 9.12e-07/0.7172, allocations: 0 / 1.01 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04189/0.7591, allocations: 23.48 MB / 1.033 GB, free: 13.61 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/0.7593, allocations: 229 kB / 1.033 GB, free: 13.36 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/3.124, allocations: 3.938 kB / 1.033 GB, free: 13.36 MB / 0.795 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