Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.186/2.186, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001105/0.001105, allocations: 176.9 kB / 487.4 MB, free: 5.027 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.459/1.459, allocations: 221.5 MB / 0.7824 GB, free: 1 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.0008885/0.0008886, allocations: 101.3 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.422e-05/2.416e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2505, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.485/5.735, allocations: 2.185 GB / 3.391 GB, free: 138.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/5.736, allocations: 87.95 kB / 3.391 GB, free: 138.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.376/9.112, allocations: 0.9453 GB / 4.337 GB, free: 60.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.154e-06/9.112, allocations: 4 kB / 4.337 GB, free: 60.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001592/9.112, allocations: 43.98 kB / 4.337 GB, free: 60.66 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006088/9.118, allocations: 2.088 MB / 4.339 GB, free: 58.51 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/9.118, allocations: 12.03 kB / 4.339 GB, free: 58.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/9.121, allocations: 0.5519 MB / 4.339 GB, free: 57.94 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/9.124, allocations: 1.352 MB / 4.341 GB, free: 56.54 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000591/9.125, allocations: 173.9 kB / 4.341 GB, free: 56.37 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/9.125, allocations: 72 kB / 4.341 GB, free: 56.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001539/9.127, allocations: 0.9333 MB / 4.342 GB, free: 55.36 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/9.128, allocations: 1.071 MB / 4.343 GB, free: 54.25 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/9.128, allocations: 0 / 4.343 GB, free: 54.25 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/9.128, allocations: 0 / 4.343 GB, free: 54.25 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/9.128, allocations: 45.98 kB / 4.343 GB, free: 54.21 MB / 1.151 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.008482/9.137, allocations: 5.297 MB / 4.348 GB, free: 48.62 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009729/9.138, allocations: 0.7505 MB / 4.349 GB, free: 47.86 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/9.138, allocations: 403.1 kB / 4.349 GB, free: 47.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008272/9.139, allocations: 0.7477 MB / 4.35 GB, free: 46.56 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006768/9.14, allocations: 0.4893 MB / 4.35 GB, free: 46.07 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 3.377e-06/9.14, allocations: 0 / 4.35 GB, free: 46.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.002114/9.142, allocations: 0.9631 MB / 4.351 GB, free: 45.09 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/9.142, allocations: 111.6 kB / 4.351 GB, free: 44.96 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00097/9.143, allocations: 0.8995 MB / 4.352 GB, free: 44.05 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.557e-05/9.143, allocations: 29.7 kB / 4.352 GB, free: 44.01 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/9.144, allocations: 0.6379 MB / 4.353 GB, free: 43.36 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/9.144, allocations: 275.9 kB / 4.353 GB, free: 43.09 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/9.144, allocations: 0 / 4.353 GB, free: 43.09 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/9.144, allocations: 349.9 kB / 4.354 GB, free: 42.74 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/9.145, allocations: 382.5 kB / 4.354 GB, free: 42.37 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/9.145, allocations: 0.6682 MB / 4.355 GB, free: 41.59 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/9.146, allocations: 0.498 MB / 4.355 GB, free: 41.09 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/9.146, allocations: 0 / 4.355 GB, free: 41.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001989/9.148, allocations: 1.202 MB / 4.356 GB, free: 39.88 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004658/9.149, allocations: 2.074 MB / 4.358 GB, free: 37.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/9.149, allocations: 4 kB / 4.358 GB, free: 37.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/9.149, allocations: 12 kB / 4.358 GB, free: 37.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/9.15, allocations: 359.5 kB / 4.359 GB, free: 37.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005549/9.151, allocations: 1.211 MB / 4.36 GB, free: 36.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/9.153, allocations: 187.2 kB / 4.36 GB, free: 35.86 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/9.153, allocations: 55.97 kB / 4.36 GB, free: 35.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/9.153, allocations: 4 kB / 4.36 GB, free: 35.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001809/9.155, allocations: 1.034 MB / 4.361 GB, free: 34.76 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/9.155, allocations: 8 kB / 4.361 GB, free: 34.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/9.155, allocations: 11.94 kB / 4.361 GB, free: 34.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/9.156, allocations: 335.9 kB / 4.361 GB, free: 34.41 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/9.156, allocations: 11.94 kB / 4.361 GB, free: 34.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/9.158, allocations: 191 kB / 4.362 GB, free: 34.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/9.158, allocations: 55.97 kB / 4.362 GB, free: 34.16 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002802/9.158, allocations: 136.6 kB / 4.362 GB, free: 34.02 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001605/9.16, allocations: 0.9163 MB / 4.363 GB, free: 33.09 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/9.16, allocations: 142.3 kB / 4.363 GB, free: 32.95 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/9.162, allocations: 1.089 MB / 4.364 GB, free: 31.86 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/9.162, allocations: 12 kB / 4.364 GB, free: 31.84 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/9.162, allocations: 0 / 4.364 GB, free: 31.84 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/9.162, allocations: 15.88 kB / 4.364 GB, free: 31.83 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/9.166, allocations: 2.514 MB / 4.366 GB, free: 29.22 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/9.166, allocations: 4 kB / 4.366 GB, free: 29.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/9.167, allocations: 243.8 kB / 4.367 GB, free: 28.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/9.167, allocations: 8.094 kB / 4.367 GB, free: 28.97 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/9.167, allocations: 23.97 kB / 4.367 GB, free: 28.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004004/9.168, allocations: 1.188 MB / 4.368 GB, free: 27.71 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/9.168, allocations: 11.92 kB / 4.368 GB, free: 27.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/9.17, allocations: 1.915 MB / 4.37 GB, free: 25.61 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005682/9.171, allocations: 358.9 kB / 4.37 GB, free: 25.24 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/9.171, allocations: 7.984 kB / 4.37 GB, free: 25.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/9.172, allocations: 127.8 kB / 4.37 GB, free: 25.11 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/9.172, allocations: 76.64 kB / 4.37 GB, free: 25.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/9.172, allocations: 47.89 kB / 4.37 GB, free: 24.99 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007914/9.173, allocations: 0.6628 MB / 4.371 GB, free: 24.32 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.62e-07/9.173, allocations: 0 / 4.371 GB, free: 24.32 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002984/9.176, allocations: 0.9396 MB / 4.372 GB, free: 23.38 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006049/9.182, allocations: 5.573 MB / 4.377 GB, free: 17.62 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002806/9.185, allocations: 1.685 MB / 4.379 GB, free: 15.91 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/9.185, allocations: 4 kB / 4.379 GB, free: 15.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007746/9.186, allocations: 0.497 MB / 4.379 GB, free: 15.41 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/9.188, allocations: 0.5036 MB / 4.38 GB, free: 14.91 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/9.193, allocations: 2.332 MB / 4.382 GB, free: 12.48 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/9.194, allocations: 1.26 MB / 4.383 GB, free: 11.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002199/9.196, allocations: 462 kB / 4.384 GB, free: 10.74 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007685/9.197, allocations: 0.5539 MB / 4.384 GB, free: 10.18 MB / 1.151 GB Notification: Performance of SimCode: time 1.332e-06/9.197, allocations: 0 / 4.384 GB, free: 10.18 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9217/10.12, allocations: 50.1 MB / 4.433 GB, free: 210.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/10.12, allocations: 193.6 kB / 4.433 GB, free: 210.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.224/14.34, allocations: 0 / 4.433 GB, free: 210.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat does not exist to compare? outputFormat=mat