Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009275/0.0009275, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009232/0.0009234, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.474/2.474, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7927/0.7931, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.001778/0.795, allocations: 1.281 MB / 0.9549 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001164/0.7951, allocations: 60.44 kB / 0.9549 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.7951, allocations: 0 / 0.9549 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.7952, allocations: 0 / 0.9549 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.7952, allocations: 18.69 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7e-05/0.7953, allocations: 18.17 kB / 0.955 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.95e-05/0.7954, allocations: 43.28 kB / 0.955 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.7955, allocations: 10.3 kB / 0.955 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.27e-05/0.7956, allocations: 25.7 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.7956, allocations: 27.72 kB / 0.9551 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.7956, allocations: 4.375 kB / 0.9551 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.7957, allocations: 1.656 kB / 0.9551 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.7957, allocations: 9.641 kB / 0.9551 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.7957, allocations: 41.52 kB / 0.9551 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.088e-05/0.7958, allocations: 41.31 kB / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.7958, allocations: 0 / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7958, allocations: 0 / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.7958, allocations: 0 / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005264/0.7963, allocations: 409.1 kB / 0.9555 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.7964, allocations: 9.5 kB / 0.9555 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.7964, allocations: 35.69 kB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.7965, allocations: 14.95 kB / 0.9556 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.617e-05/0.7965, allocations: 163.4 kB / 0.9558 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.7966, allocations: 1.062 kB / 0.9558 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.7966, allocations: 7.375 kB / 0.9558 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.7969, allocations: 117.2 kB / 0.9559 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.7969, allocations: 0 / 0.9559 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.797, allocations: 9.266 kB / 0.9559 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.797, allocations: 4 kB / 0.9559 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.7974, allocations: 133.6 kB / 0.956 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.7978, allocations: 306.7 kB / 0.9563 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.7982, allocations: 102 kB / 0.9564 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.7982, allocations: 5.531 kB / 0.9564 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.7982, allocations: 31.88 kB / 0.9564 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.7982, allocations: 0 / 0.9564 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000738/0.799, allocations: 251.8 kB / 0.9567 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.799, allocations: 51.41 kB / 0.9567 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.7991, allocations: 120.9 kB / 0.9568 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.7991, allocations: 25.7 kB / 0.9569 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.7991, allocations: 90.8 kB / 0.957 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.7991, allocations: 26.58 kB / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.7992, allocations: 0 / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.7992, allocations: 320.1 kB / 0.9573 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.7994, allocations: 69.03 kB / 0.9573 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.7996, allocations: 67.84 kB / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.7999, allocations: 60.86 kB / 0.9575 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7999, allocations: 4 kB / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004458/0.8003, allocations: 175.6 kB / 0.9576 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8003, allocations: 3.625 kB / 0.9576 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8003, allocations: 1.781 kB / 0.9576 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.8004, allocations: 3.953 kB / 0.9577 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.8005, allocations: 40.06 kB / 0.9577 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.788e-06/0.8005, allocations: 0 / 0.9577 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.8006, allocations: 34.03 kB / 0.9577 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.8007, allocations: 1.344 kB / 0.9577 GB, free: 4.727 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.8007, allocations: 117.8 kB / 0.9578 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.8007, allocations: 2.5 kB / 0.9578 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.8008, allocations: 9.688 kB / 0.9578 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.8008, allocations: 3.953 kB / 0.9579 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.8008, allocations: 1.094 kB / 0.9579 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8008, allocations: 0 / 0.9579 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.8009, allocations: 190.6 kB / 0.958 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.801, allocations: 1.281 kB / 0.958 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.8011, allocations: 39.75 kB / 0.9581 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8011, allocations: 5.469 kB / 0.9581 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.8011, allocations: 4 kB / 0.9581 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8011, allocations: 1.375 kB / 0.9581 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8011, allocations: 3.953 kB / 0.9581 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.8016, allocations: 273.1 kB / 0.9583 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.8017, allocations: 82.98 kB / 0.9584 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.8017, allocations: 1.094 kB / 0.9584 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.8018, allocations: 28.78 kB / 0.9585 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.8019, allocations: 10.83 kB / 0.9585 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.8019, allocations: 5.328 kB / 0.9585 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.8019, allocations: 92.7 kB / 0.9586 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8019, allocations: 0 / 0.9586 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002215/0.8022, allocations: 11.44 kB / 0.9586 GB, free: 3.945 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006637/0.8028, allocations: 0.8124 MB / 0.9594 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.8033, allocations: 139.5 kB / 0.9595 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8033, allocations: 0 / 0.9595 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.8035, allocations: 80.62 kB / 0.9596 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.8038, allocations: 12.86 kB / 0.9596 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.8042, allocations: 211 kB / 0.9598 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.8044, allocations: 0.6939 MB / 0.9605 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.8044, allocations: 2.75 kB / 0.9605 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.8045, allocations: 22.17 kB / 0.9605 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.8045, allocations: 0 / 0.9605 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.8161, allocations: 1.73 MB / 0.9622 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.8163, allocations: 197.6 kB / 0.9624 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.396, allocations: 0 / 0.9624 GB, free: 1.199 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat does not exist to compare? outputFormat=mat