Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.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.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU",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.219/2.219, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001089/0.001089, allocations: 180.9 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.478/1.478, allocations: 221.5 MB / 0.7824 GB, free: 1.055 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.001073/0.001073, allocations: 91.84 kB / 0.9219 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.006e-05/2.01e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2681, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.463, allocations: 476.7 MB / 1.672 GB, free: 10.48 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/1.464, allocations: 102.2 kB / 1.672 GB, free: 10.43 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 5.36/6.823, allocations: 1.287 GB / 2.959 GB, free: 98.45 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.224e-06/6.824, allocations: 0 / 2.959 GB, free: 98.45 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001365/6.825, allocations: 141.3 kB / 2.959 GB, free: 98.32 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 684 * Number of variables: 684 Notification: Performance of Generate backend data structure: time 0.02016/6.845, allocations: 5.867 MB / 2.965 GB, free: 92.42 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/6.845, allocations: 8.031 kB / 2.965 GB, free: 92.41 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005217/6.85, allocations: 0.7219 MB / 2.965 GB, free: 91.68 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06691/6.917, allocations: 31.72 MB / 2.996 GB, free: 60.28 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/6.917, allocations: 88 kB / 2.997 GB, free: 60.19 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/6.919, allocations: 211.9 kB / 2.997 GB, free: 59.98 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004993/6.924, allocations: 2.95 MB / 3 GB, free: 57.03 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005371/6.929, allocations: 3.593 MB / 3.003 GB, free: 53.28 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.037e-05/6.929, allocations: 7.938 kB / 3.003 GB, free: 53.27 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/6.929, allocations: 8 kB / 3.003 GB, free: 53.26 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/6.93, allocations: 101.1 kB / 3.003 GB, free: 53.16 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.03328/6.963, allocations: 21.69 MB / 3.024 GB, free: 30.86 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006199/6.969, allocations: 3.702 MB / 3.028 GB, free: 27.11 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/6.971, allocations: 1.491 MB / 3.03 GB, free: 25.62 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01687/6.988, allocations: 10.52 MB / 3.04 GB, free: 14.58 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00163/6.989, allocations: 1.327 MB / 3.041 GB, free: 13.23 MB / 1.167 GB Notification: Performance of pre-optimization done (n=168): time 3.627e-06/6.989, allocations: 0 / 3.041 GB, free: 13.23 MB / 1.167 GB Notification: Performance of matching and sorting (n=168): time 0.006063/6.996, allocations: 2.794 MB / 3.044 GB, free: 10.41 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/6.996, allocations: 124.1 kB / 3.044 GB, free: 10.27 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01399/7.01, allocations: 7.674 MB / 3.051 GB, free: 2.605 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008596/7.01, allocations: 29.7 kB / 3.051 GB, free: 2.57 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003431/7.014, allocations: 2.64 MB / 3.054 GB, free: 15.91 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001541/7.015, allocations: 0.5929 MB / 3.055 GB, free: 15.31 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/7.016, allocations: 0 / 3.055 GB, free: 15.31 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0003591/7.016, allocations: 469 kB / 3.055 GB, free: 14.84 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002591/7.019, allocations: 1.861 MB / 3.057 GB, free: 12.98 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/7.022, allocations: 3.392 MB / 3.06 GB, free: 8.852 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004175/7.027, allocations: 2.506 MB / 3.063 GB, free: 6.348 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.078e-05/7.027, allocations: 16 kB / 3.063 GB, free: 6.332 MB / 1.182 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01158/7.038, allocations: 5.653 MB / 3.068 GB, free: 0.6602 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.9943/8.033, allocations: 24.61 MB / 3.092 GB, free: 154.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/8.033, allocations: 49.91 kB / 3.092 GB, free: 154.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/8.034, allocations: 244.1 kB / 3.092 GB, free: 154.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/8.038, allocations: 0.9841 MB / 3.093 GB, free: 154.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/8.042, allocations: 4.688 MB / 3.098 GB, free: 151 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/8.053, allocations: 1.73 MB / 3.1 GB, free: 151 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/8.054, allocations: 182.7 kB / 3.1 GB, free: 151 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/8.054, allocations: 3.312 kB / 3.1 GB, free: 151 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01074/8.065, allocations: 5.069 MB / 3.105 GB, free: 151 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/8.065, allocations: 50.53 kB / 3.105 GB, free: 151 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000758/8.066, allocations: 244 kB / 3.105 GB, free: 151 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003848/8.07, allocations: 0.9819 MB / 3.106 GB, free: 151 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/8.073, allocations: 4.691 MB / 3.111 GB, free: 147.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/8.084, allocations: 1.639 MB / 3.112 GB, free: 147.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/8.085, allocations: 179.5 kB / 3.112 GB, free: 147.4 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 424 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001055/8.086, allocations: 244.4 kB / 3.113 GB, free: 147.3 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006754/8.093, allocations: 2.769 MB / 3.115 GB, free: 147.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002089/8.095, allocations: 0.5316 MB / 3.116 GB, free: 146.9 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005997/8.101, allocations: 3.128 MB / 3.119 GB, free: 146.7 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/8.101, allocations: 20.94 kB / 3.119 GB, free: 146.7 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/8.101, allocations: 3.75 kB / 3.119 GB, free: 146.7 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003277/8.104, allocations: 2.611 MB / 3.122 GB, free: 146.2 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/8.122, allocations: 9.246 MB / 3.131 GB, free: 145.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/8.122, allocations: 1.281 kB / 3.131 GB, free: 145.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/8.124, allocations: 452 kB / 3.131 GB, free: 145.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005858/8.124, allocations: 176 kB / 3.131 GB, free: 145.6 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/8.124, allocations: 66.23 kB / 3.131 GB, free: 145.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/8.127, allocations: 4.615 MB / 3.136 GB, free: 142 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/8.127, allocations: 6.938 kB / 3.136 GB, free: 142 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00775/8.135, allocations: 4.469 MB / 3.14 GB, free: 141.3 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00722/8.142, allocations: 4.779 MB / 3.145 GB, free: 137.9 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002507/8.145, allocations: 51.7 kB / 3.145 GB, free: 137.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006328/8.151, allocations: 0.8244 MB / 3.146 GB, free: 137.9 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/8.152, allocations: 115.7 kB / 3.146 GB, free: 137.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/8.152, allocations: 65.16 kB / 3.146 GB, free: 137.9 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01294/8.165, allocations: 5.656 MB / 3.151 GB, free: 137.7 MB / 1.198 GB Notification: Performance of sort global known variables: time 7.41e-07/8.165, allocations: 0 / 3.151 GB, free: 137.7 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01749/8.182, allocations: 3.19 MB / 3.154 GB, free: 137.6 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (sla1.vol[1].dynBal.U,sla1.con_a[1].lay[1].T[1],sla1.con_a[1].lay[1].T[2],sla1.con_a[1].lay[1].T[3],sla1.con_a[1].lay[1].T[4],sla1.con_a[1].lay[1].T[5],sla1.con_b[1].lay[1].T[1],sla1.con_b[1].lay[2].T[1],sla1.con_b[1].lay[2].T[2],sla2.vol[1].dynBal.U,sla2.con_a[1].lay[1].T[1],sla2.con_a[1].lay[1].T[2],sla2.con_a[1].lay[1].T[3],sla2.con_a[1].lay[1].T[4],sla2.con_a[1].lay[1].T[5],sla2.con_b[1].lay[1].T[1],sla2.con_b[1].lay[2].T[1],sla2.con_b[1].lay[2].T[2],sla3.sla.vol[1].dynBal.U,sla3.sla.con_a[1].lay[1].T[1],sla3.sla.con_a[1].lay[1].T[2],sla3.sla.con_a[1].lay[1].T[3],sla3.sla.con_a[1].lay[1].T[4],sla3.sla.con_a[1].lay[1].T[5],sla3.sla.con_b[1].lay[1].T[1],sla3.sla.con_b[1].lay[2].T[1],sla3.sla.con_b[1].lay[2].T[2],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01168/8.194, allocations: 6.808 MB / 3.161 GB, free: 136 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.01125/8.205, allocations: 7.164 MB / 3.168 GB, free: 135.2 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/8.205, allocations: 6.031 kB / 3.168 GB, free: 135.2 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/8.207, allocations: 1.564 MB / 3.17 GB, free: 134.9 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01256/8.22, allocations: 2.207 MB / 3.172 GB, free: 134.9 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0299/8.25, allocations: 13.89 MB / 3.185 GB, free: 132.6 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004288/8.254, allocations: 4.45 MB / 3.19 GB, free: 131.8 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01523/8.27, allocations: 5.389 MB / 3.195 GB, free: 131.8 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003886/8.274, allocations: 2.312 MB / 3.197 GB, free: 131.8 MB / 1.198 GB Notification: Performance of SimCode: time 1.262e-06/8.274, allocations: 0 / 3.197 GB, free: 131.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.264/8.538, allocations: 158.2 MB / 3.352 GB, free: 124.2 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/8.538, allocations: 213.6 kB / 3.352 GB, free: 123.9 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.612/17.15, allocations: 0 / 3.352 GB, free: 123.9 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_res.mat does not exist to compare? outputFormat=mat