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.001291/0.001291, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001368/0.001368, allocations: 177.3 kB / 15.94 MB, free: 228 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.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.352 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.532/2.532, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003716, allocations: 16 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7596/0.76, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003361/0.7634, allocations: 3.505 MB / 0.957 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003842/0.7672, allocations: 2.81 MB / 0.9597 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005103/0.7678, allocations: 17.91 kB / 0.9597 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.7688, allocations: 412.2 kB / 0.9601 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.7699, allocations: 0.5009 MB / 0.9606 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.7711, allocations: 0.5066 MB / 0.9611 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.773, allocations: 1.049 MB / 0.9622 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.7733, allocations: 149.2 kB / 0.9623 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/0.7742, allocations: 456.3 kB / 0.9627 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007412/0.775, allocations: 497.7 kB / 0.9632 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.7751, allocations: 35.88 kB / 0.9632 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007555/0.7758, allocations: 288.5 kB / 0.9635 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004475/0.7763, allocations: 381.5 kB / 0.9639 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.7766, allocations: 239.2 kB / 0.9641 GB, free: 252 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.7779, allocations: 1.04 MB / 0.9651 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7779, allocations: 0 / 0.9651 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7779, allocations: 1.031 kB / 0.9651 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.7779, allocations: 0 / 0.9651 GB, free: 15.57 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.002937/0.7809, allocations: 1.455 MB / 0.9665 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.7809, allocations: 13.5 kB / 0.9666 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.733e-05/0.781, allocations: 84.89 kB / 0.9666 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.7813, allocations: 134.7 kB / 0.9668 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.7826, allocations: 0.7251 MB / 0.9675 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.7827, allocations: 43.62 kB / 0.9675 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.7828, allocations: 64.89 kB / 0.9676 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/0.7838, allocations: 0.6084 MB / 0.9682 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.7838, allocations: 1 kB / 0.9682 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.7838, allocations: 19.97 kB / 0.9682 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.7838, allocations: 10.19 kB / 0.9682 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/0.7846, allocations: 0.5649 MB / 0.9688 GB, free: 13.16 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.004781/0.7894, allocations: 3.273 MB / 0.9719 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.7909, allocations: 0.8483 MB / 0.9728 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.477e-05/0.791, allocations: 21.42 kB / 0.9728 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.791, allocations: 41.34 kB / 0.9728 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 2.584e-06/0.791, allocations: 0 / 0.9728 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.00187/0.7929, allocations: 1.182 MB / 0.974 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.793, allocations: 59.34 kB / 0.974 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.7948, allocations: 1.18 MB / 0.9752 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.742e-05/0.7949, allocations: 44.95 kB / 0.9752 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.7954, allocations: 467 kB / 0.9757 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.7956, allocations: 171.8 kB / 0.9759 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.7957, allocations: 16.06 kB / 0.9759 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.7959, allocations: 350.6 kB / 0.9762 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.7969, allocations: 0.6417 MB / 0.9768 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.7982, allocations: 0.9678 MB / 0.9778 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009989/0.7992, allocations: 0.7481 MB / 0.9785 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.7992, allocations: 4 kB / 0.9785 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002454/0.8017, allocations: 1.776 MB / 0.9802 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.8017, allocations: 12 kB / 0.9803 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.8018, allocations: 12 kB / 0.9803 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/0.802, allocations: 52.77 kB / 0.9803 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.8032, allocations: 271.6 kB / 0.9806 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004243/0.8074, allocations: 6.741 MB / 0.9872 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.8088, allocations: 130.6 kB / 0.9873 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.8088, allocations: 47.98 kB / 0.9873 GB, free: 12.61 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.0005127/0.8094, allocations: 306.5 kB / 0.9876 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.8095, allocations: 114.5 kB / 0.9877 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.8108, allocations: 0.8375 MB / 0.9885 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.8108, allocations: 11.89 kB / 0.9886 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.8108, allocations: 0 / 0.9886 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.8108, allocations: 0 / 0.9886 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.812, allocations: 0.8957 MB / 0.9894 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.812, allocations: 0 / 0.9894 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.8126, allocations: 111.8 kB / 0.9895 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.8127, allocations: 28.84 kB / 0.9896 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.8127, allocations: 19.98 kB / 0.9896 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009429/0.8137, allocations: 1.35 MB / 0.9909 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8137, allocations: 4.031 kB / 0.9909 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.8153, allocations: 1.362 MB / 0.9922 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.8158, allocations: 255.5 kB / 0.9925 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.8159, allocations: 16 kB / 0.9925 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/0.8165, allocations: 43.8 kB / 0.9925 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.8166, allocations: 27.97 kB / 0.9926 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.8166, allocations: 8 kB / 0.9926 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001033/0.8176, allocations: 0.7764 MB / 0.9933 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.683e-06/0.8176, allocations: 112 / 0.9933 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00113/0.8188, allocations: 371.5 kB / 0.9937 GB, free: 5.852 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.00219/0.821, allocations: 2.014 MB / 0.9957 GB, free: 3.805 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002447/0.8234, allocations: 1.506 MB / 0.9971 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8235, allocations: 0 / 0.9971 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.824, allocations: 480.1 kB / 0.9976 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00097/0.825, allocations: 204.5 kB / 0.9978 GB, free: 1.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007338/0.8324, allocations: 10.67 MB / 1.008 GB, free: 6.668 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/0.8332, allocations: 1.117 MB / 1.009 GB, free: 5.523 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.0006307/0.8338, allocations: 202.3 kB / 1.009 GB, free: 5.32 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.8343, allocations: 391.3 kB / 1.01 GB, free: 4.941 MB / 0.7638 GB Notification: Performance of SimCode: time 7.31e-07/0.8343, allocations: 3.938 kB / 1.01 GB, free: 4.938 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03914/0.8735, allocations: 22.15 MB / 1.031 GB, free: 15.14 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/0.8737, allocations: 220.5 kB / 1.032 GB, free: 14.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/3.096, allocations: 0 / 1.032 GB, free: 14.9 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