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.234/2.234, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001154/0.001154, allocations: 176.2 kB / 492.3 MB, free: 0.6211 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.423/1.423, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009162/0.0009162, allocations: 97.78 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.534e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2689, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8831/1.152, allocations: 158.9 MB / 1.368 GB, free: 18.78 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/1.152, allocations: 83.48 kB / 1.368 GB, free: 18.77 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09773/1.25, allocations: 28.99 MB / 1.396 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/1.25, allocations: 0 / 1.396 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001557/1.25, allocations: 26.73 kB / 1.396 GB, free: 26.36 MB / 0.8386 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.003032/1.253, allocations: 1.199 MB / 1.397 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.253, allocations: 7.719 kB / 1.397 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/1.254, allocations: 85.02 kB / 1.397 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006839/1.254, allocations: 131.5 kB / 1.397 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003826/1.258, allocations: 1.54 MB / 1.399 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/1.258, allocations: 43.25 kB / 1.399 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/1.258, allocations: 65 kB / 1.399 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/1.26, allocations: 0.651 MB / 1.4 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/1.26, allocations: 3.938 kB / 1.4 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/1.26, allocations: 13.56 kB / 1.4 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/1.26, allocations: 12 kB / 1.4 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009808/1.261, allocations: 0.6118 MB / 1.4 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005276/1.266, allocations: 2.752 MB / 1.403 GB, free: 21.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/1.267, allocations: 0.9095 MB / 1.404 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/1.268, allocations: 389.5 kB / 1.404 GB, free: 20.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/1.268, allocations: 24.11 kB / 1.404 GB, free: 20.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/1.268, allocations: 38.19 kB / 1.404 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 3.286e-06/1.268, allocations: 0 / 1.404 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.001537/1.27, allocations: 0.8704 MB / 1.405 GB, free: 19.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/1.27, allocations: 55.41 kB / 1.405 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/1.271, allocations: 1.036 MB / 1.406 GB, free: 19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.362e-05/1.272, allocations: 41.45 kB / 1.406 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/1.272, allocations: 466.3 kB / 1.407 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/1.272, allocations: 169.6 kB / 1.407 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/1.272, allocations: 17.31 kB / 1.407 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.272, allocations: 353.5 kB / 1.407 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/1.273, allocations: 0.5291 MB / 1.408 GB, free: 17.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/1.274, allocations: 0.8628 MB / 1.409 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/1.275, allocations: 0.6347 MB / 1.409 GB, free: 16.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/1.275, allocations: 4 kB / 1.409 GB, free: 16.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002847/1.278, allocations: 1.57 MB / 1.411 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/1.278, allocations: 9.406 kB / 1.411 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/1.278, allocations: 23.86 kB / 1.411 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/1.278, allocations: 44.78 kB / 1.411 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.28, allocations: 359.6 kB / 1.411 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005147/1.285, allocations: 6.832 MB / 1.418 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/1.287, allocations: 150.5 kB / 1.418 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/1.287, allocations: 67.09 kB / 1.418 GB, free: 8.039 MB / 0.8386 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 () * 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.0002432/1.287, allocations: 158 kB / 1.418 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/1.287, allocations: 106.6 kB / 1.418 GB, free: 7.793 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/1.289, allocations: 1.007 MB / 1.419 GB, free: 7.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.289, allocations: 8 kB / 1.419 GB, free: 7.012 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.289, allocations: 0 / 1.419 GB, free: 7.012 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/1.289, allocations: 3.984 kB / 1.419 GB, free: 7.008 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/1.291, allocations: 0.9527 MB / 1.42 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/1.291, allocations: 7.953 kB / 1.42 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/1.291, allocations: 123.7 kB / 1.42 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/1.292, allocations: 32.77 kB / 1.42 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/1.292, allocations: 19.67 kB / 1.42 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009765/1.293, allocations: 1.339 MB / 1.422 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.293, allocations: 0 / 1.422 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/1.295, allocations: 1.493 MB / 1.423 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006375/1.295, allocations: 375.6 kB / 1.424 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.295, allocations: 15.62 kB / 1.424 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007774/1.296, allocations: 43.55 kB / 1.424 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.977e-05/1.296, allocations: 35.89 kB / 1.424 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/1.296, allocations: 35.86 kB / 1.424 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009882/1.297, allocations: 0.7618 MB / 1.424 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.297, allocations: 0 / 1.424 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001171/1.298, allocations: 380 kB / 1.425 GB, free: 2.082 MB / 0.8386 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 () * 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.002275/1.301, allocations: 2.087 MB / 1.427 GB, free: 276 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002308/1.303, allocations: 1.502 MB / 1.428 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.303, allocations: 0.6875 kB / 1.428 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005088/1.304, allocations: 472.7 kB / 1.429 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/1.305, allocations: 207.5 kB / 1.429 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/1.308, allocations: 2.396 MB / 1.431 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/1.309, allocations: 1.123 MB / 1.432 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005742/1.31, allocations: 203.3 kB / 1.433 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/1.31, allocations: 399.6 kB / 1.433 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/1.31, allocations: 0 / 1.433 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04627/1.356, allocations: 24.73 MB / 1.457 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/1.357, allocations: 186.2 kB / 1.457 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/4.166, allocations: 4 kB / 1.457 GB, free: 2.332 MB / 0.8698 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