Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.232/2.232, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001193/0.001193, allocations: 181.1 kB / 498.1 MB, free: 5.68 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.607/1.607, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001044/0.001044, allocations: 104.1 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 6.844 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3112, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.5249, allocations: 161.9 MB / 1.381 GB, free: 60 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.5252, allocations: 79.97 kB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09947/0.6247, allocations: 28.48 MB / 1.409 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.608e-06/0.6247, allocations: 0 / 1.409 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001628/0.6249, allocations: 12 kB / 1.409 GB, free: 3.359 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.004874/0.6298, allocations: 1.188 MB / 1.41 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 8.702e-05/0.6299, allocations: 12.03 kB / 1.41 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000326/0.6303, allocations: 62.53 kB / 1.41 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008476/0.6311, allocations: 75.16 kB / 1.41 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004286/0.6354, allocations: 1.253 MB / 1.411 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/0.6355, allocations: 36.52 kB / 1.411 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.6357, allocations: 43.91 kB / 1.412 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.6363, allocations: 366.7 kB / 1.412 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.6364, allocations: 3.938 kB / 1.412 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.6364, allocations: 15.98 kB / 1.412 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.6364, allocations: 8 kB / 1.412 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.6369, allocations: 233.5 kB / 1.412 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003785/0.6407, allocations: 2.086 MB / 1.414 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.6418, allocations: 398.5 kB / 1.415 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.6418, allocations: 0 / 1.415 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.6419, allocations: 42.52 kB / 1.415 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.6419, allocations: 0 / 1.415 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001142/0.643, allocations: 0.5352 MB / 1.415 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.6431, allocations: 55.41 kB / 1.415 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.6446, allocations: 0.9171 MB / 1.416 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.6446, allocations: 37.7 kB / 1.416 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.6449, allocations: 300.5 kB / 1.416 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.645, allocations: 63.02 kB / 1.416 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.6451, allocations: 12 kB / 1.416 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.6453, allocations: 382.8 kB / 1.417 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.6457, allocations: 232.9 kB / 1.417 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.6462, allocations: 0.4975 MB / 1.418 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.6467, allocations: 301.7 kB / 1.418 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.6467, allocations: 4 kB / 1.418 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001343/0.6481, allocations: 0.7978 MB / 1.419 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.6481, allocations: 16.88 kB / 1.419 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.6481, allocations: 12 kB / 1.419 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.6484, allocations: 61.41 kB / 1.419 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.6489, allocations: 135.8 kB / 1.419 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.6503, allocations: 1.455 MB / 1.42 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.6515, allocations: 195.1 kB / 1.42 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.6515, allocations: 28 kB / 1.42 GB, free: 6.961 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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 prepare postOptimizeDAE: time 0.000541/0.6521, allocations: 362 kB / 1.421 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.6523, allocations: 59.25 kB / 1.421 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.6524, allocations: 66 kB / 1.421 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.6525, allocations: 7.938 kB / 1.421 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6525, allocations: 0 / 1.421 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.6525, allocations: 3.984 kB / 1.421 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.6535, allocations: 0.6648 MB / 1.422 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6535, allocations: 0 / 1.422 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.6538, allocations: 51.95 kB / 1.422 GB, free: 5.699 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.654, allocations: 40.83 kB / 1.422 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.6541, allocations: 11.98 kB / 1.422 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.6555, allocations: 1.44 MB / 1.423 GB, free: 4.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6555, allocations: 4 kB / 1.423 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008962/0.6564, allocations: 0.5724 MB / 1.424 GB, free: 3.477 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006109/0.657, allocations: 356.2 kB / 1.424 GB, free: 3.082 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.6572, allocations: 11.98 kB / 1.424 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/0.6578, allocations: 83.84 kB / 1.424 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.6578, allocations: 11.98 kB / 1.424 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.6579, allocations: 4 kB / 1.424 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001083/0.659, allocations: 0.6942 MB / 1.425 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.71e-07/0.659, allocations: 0 / 1.425 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008429/0.6598, allocations: 195.8 kB / 1.425 GB, free: 2.094 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.001328/0.6612, allocations: 1.179 MB / 1.426 GB, free: 0.8828 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.6622, allocations: 0.5723 MB / 1.427 GB, free: 308 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6622, allocations: 0 / 1.427 GB, free: 308 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.6626, allocations: 256 kB / 1.427 GB, free: 40 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5917/1.254, allocations: 148 kB / 1.427 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004985/1.259, allocations: 8.591 MB / 1.435 GB, free: 181 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/1.26, allocations: 1.024 MB / 1.436 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006604/1.261, allocations: 184.8 kB / 1.437 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/1.261, allocations: 209.3 kB / 1.437 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.182e-06/1.261, allocations: 0 / 1.437 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05656/1.318, allocations: 15.49 MB / 1.452 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/1.318, allocations: 202.4 kB / 1.452 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/3.621, allocations: 11.78 kB / 1.452 GB, free: 179.2 MB / 0.9167 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat does not exist to compare? outputFormat=mat