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.31/2.31, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0012/0.0012, allocations: 172.8 kB / 487.4 MB, free: 5.039 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.501/1.501, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 97.89 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.777e-05/1.778e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2636, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8913/1.155, allocations: 158.2 MB / 1.361 GB, free: 18.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/1.155, allocations: 76.47 kB / 1.361 GB, free: 18.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09275/1.248, allocations: 28.49 MB / 1.388 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.013e-06/1.248, allocations: 0 / 1.388 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.632e-05/1.248, allocations: 27.28 kB / 1.388 GB, free: 27.01 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.00193/1.25, allocations: 1.197 MB / 1.39 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.25, allocations: 7.75 kB / 1.39 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/1.25, allocations: 132.2 kB / 1.39 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/1.254, allocations: 1.538 MB / 1.391 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/1.254, allocations: 20.22 kB / 1.391 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/1.254, allocations: 38.22 kB / 1.391 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008846/1.255, allocations: 0.5943 MB / 1.392 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/1.255, allocations: 0.5931 MB / 1.392 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.256, allocations: 0 / 1.392 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/1.256, allocations: 0 / 1.392 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/1.256, allocations: 19.47 kB / 1.393 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003929/1.26, allocations: 2.657 MB / 1.395 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/1.261, allocations: 0.8891 MB / 1.396 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/1.261, allocations: 373 kB / 1.396 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.465e-05/1.261, allocations: 23.33 kB / 1.396 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/1.261, allocations: 38.16 kB / 1.396 GB, free: 23.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 1.683e-06/1.262, allocations: 0 / 1.396 GB, free: 23.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.001353/1.263, allocations: 0.8529 MB / 1.397 GB, free: 23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/1.263, allocations: 59.22 kB / 1.397 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.264, allocations: 0.9725 MB / 1.398 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/1.264, allocations: 25.7 kB / 1.398 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/1.264, allocations: 459.9 kB / 1.399 GB, free: 22.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/1.265, allocations: 168.2 kB / 1.399 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/1.265, allocations: 3.844 kB / 1.399 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.265, allocations: 345 kB / 1.399 GB, free: 22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/1.265, allocations: 0.5197 MB / 1.4 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000702/1.266, allocations: 0.8356 MB / 1.401 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/1.267, allocations: 0.7132 MB / 1.401 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/1.267, allocations: 3.75 kB / 1.401 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00208/1.269, allocations: 1.575 MB / 1.403 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.269, allocations: 17.73 kB / 1.403 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/1.269, allocations: 11.69 kB / 1.403 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/1.27, allocations: 43.78 kB / 1.403 GB, free: 20.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/1.271, allocations: 359.6 kB / 1.403 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/1.275, allocations: 6.896 MB / 1.41 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.276, allocations: 144.1 kB / 1.41 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-05/1.277, allocations: 63.91 kB / 1.41 GB, free: 14.57 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.0001825/1.277, allocations: 137.3 kB / 1.41 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001076/1.278, allocations: 0.834 MB / 1.411 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.278, allocations: 116 kB / 1.411 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/1.279, allocations: 0.9731 MB / 1.412 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.279, allocations: 4 kB / 1.412 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.279, allocations: 0 / 1.412 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.279, allocations: 7.984 kB / 1.412 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009629/1.28, allocations: 0.8961 MB / 1.413 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.28, allocations: 0 / 1.413 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/1.281, allocations: 123.6 kB / 1.413 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/1.281, allocations: 31.03 kB / 1.413 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/1.281, allocations: 17.86 kB / 1.413 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008188/1.282, allocations: 1.31 MB / 1.414 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.282, allocations: 0 / 1.414 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/1.284, allocations: 1.464 MB / 1.416 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/1.284, allocations: 374.8 kB / 1.416 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/1.284, allocations: 9.734 kB / 1.416 GB, free: 9.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007751/1.285, allocations: 40.03 kB / 1.416 GB, free: 9.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/1.285, allocations: 35.08 kB / 1.416 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/1.285, allocations: 32.98 kB / 1.416 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007613/1.286, allocations: 0.7063 MB / 1.417 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.286, allocations: 0 / 1.417 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0011/1.287, allocations: 359.5 kB / 1.417 GB, free: 8.918 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.002166/1.289, allocations: 2.048 MB / 1.419 GB, free: 7.117 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002108/1.291, allocations: 1.455 MB / 1.421 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.291, allocations: 3.25 kB / 1.421 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005241/1.292, allocations: 449.9 kB / 1.421 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009301/1.293, allocations: 207.8 kB / 1.421 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/1.297, allocations: 2.345 MB / 1.424 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/1.298, allocations: 1.122 MB / 1.425 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005708/1.298, allocations: 215.3 kB / 1.425 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/1.299, allocations: 400.5 kB / 1.425 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of SimCode: time 2.465e-06/1.299, allocations: 112 / 1.425 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04892/1.347, allocations: 21.81 MB / 1.447 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/1.348, allocations: 149.3 kB / 1.447 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.92, allocations: 0 / 1.447 GB, free: 12.06 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