Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.001634/0.001635, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.002115/0.002114, allocations: 168.7 kB / 15.95 MB, free: 204 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.514/1.514, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.662/2.662, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004001, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.779, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2206/0.9996, allocations: 195.2 MB / 1.172 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01189/1.012, allocations: 6.619 MB / 1.178 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/1.013, allocations: 39.69 kB / 1.178 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00179/1.015, allocations: 0.4967 MB / 1.179 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00602/1.021, allocations: 1.803 MB / 1.181 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/1.024, allocations: 0.9013 MB / 1.181 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004937/1.029, allocations: 3.202 MB / 1.185 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/1.031, allocations: 0.7921 MB / 1.185 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004426/1.036, allocations: 1.525 MB / 1.187 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/1.038, allocations: 0.8677 MB / 1.188 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003533/1.038, allocations: 44 kB / 1.188 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/1.042, allocations: 1.54 MB / 1.189 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005905/1.043, allocations: 342.8 kB / 1.189 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005709/1.043, allocations: 269 kB / 1.19 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002575/1.046, allocations: 1.719 MB / 1.191 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.046, allocations: 0 / 1.191 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.874e-06/1.046, allocations: 4 kB / 1.191 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.735e-05/1.046, allocations: 0 / 1.191 GB, free: 14.3 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003987/1.05, allocations: 1.61 MB / 1.193 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.05, allocations: 8.031 kB / 1.193 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/1.05, allocations: 139.1 kB / 1.193 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00284/1.053, allocations: 0.576 MB / 1.194 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/1.055, allocations: 0.9336 MB / 1.195 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005749/1.056, allocations: 197.9 kB / 1.195 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/1.056, allocations: 80 kB / 1.195 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/1.059, allocations: 1.268 MB / 1.196 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/1.059, allocations: 0 / 1.196 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/1.059, allocations: 36 kB / 1.196 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-05/1.059, allocations: 49.92 kB / 1.196 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003771/1.063, allocations: 1.604 MB / 1.198 GB, free: 7.691 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.007095/1.07, allocations: 4.084 MB / 1.202 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/1.072, allocations: 1.05 MB / 1.203 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/1.074, allocations: 0.6943 MB / 1.203 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/1.075, allocations: 0.6477 MB / 1.204 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/1.075, allocations: 39.17 kB / 1.204 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 2.605e-06/1.075, allocations: 4 kB / 1.204 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.004797/1.08, allocations: 1.91 MB / 1.206 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/1.08, allocations: 64.06 kB / 1.206 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/1.081, allocations: 0.8115 MB / 1.207 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/1.081, allocations: 45.7 kB / 1.207 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/1.082, allocations: 444.5 kB / 1.207 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/1.082, allocations: 252.1 kB / 1.208 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/1.082, allocations: 16 kB / 1.208 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.082, allocations: 334 kB / 1.208 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/1.084, allocations: 0.5563 MB / 1.208 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/1.085, allocations: 0.6902 MB / 1.209 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/1.087, allocations: 0.6099 MB / 1.21 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.087, allocations: 0 / 1.21 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003262/1.09, allocations: 1.407 MB / 1.211 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/1.09, allocations: 147.9 kB / 1.211 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.09, allocations: 0 / 1.211 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.09, allocations: 4 kB / 1.211 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.092, allocations: 279.6 kB / 1.211 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007489/1.092, allocations: 1.199 MB / 1.213 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/1.094, allocations: 193 kB / 1.213 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.094, allocations: 39.97 kB / 1.213 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/1.094, allocations: 5.562 kB / 1.213 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002961/1.097, allocations: 1.301 MB / 1.214 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.097, allocations: 0 / 1.214 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/1.097, allocations: 4 kB / 1.214 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.098, allocations: 243.8 kB / 1.214 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/1.098, allocations: 8 kB / 1.214 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/1.099, allocations: 199.1 kB / 1.215 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.099, allocations: 35.97 kB / 1.215 GB, free: 5.824 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * 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.0006385/1.1, allocations: 372.9 kB / 1.215 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/1.1, allocations: 102.8 kB / 1.215 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003431/1.104, allocations: 1.433 MB / 1.216 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.104, allocations: 12 kB / 1.217 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.104, allocations: 0 / 1.217 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/1.104, allocations: 3.984 kB / 1.217 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005943/1.11, allocations: 2.921 MB / 1.219 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.11, allocations: 7.984 kB / 1.219 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.111, allocations: 256.1 kB / 1.22 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/1.111, allocations: 4 kB / 1.22 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/1.111, allocations: 31.98 kB / 1.22 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006236/1.112, allocations: 1.191 MB / 1.221 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.112, allocations: 7.984 kB / 1.221 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/1.115, allocations: 1.533 MB / 1.222 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006388/1.116, allocations: 323.4 kB / 1.223 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/1.116, allocations: 16 kB / 1.223 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.117, allocations: 171.7 kB / 1.223 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.117, allocations: 52.45 kB / 1.223 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.073e-05/1.117, allocations: 35.97 kB / 1.223 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008871/1.118, allocations: 0.5661 MB / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/1.118, allocations: 0 / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001624/1.12, allocations: 0.5263 MB / 1.224 GB, free: 12.02 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.004003/1.124, allocations: 2.253 MB / 1.226 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005099/1.129, allocations: 2.12 MB / 1.228 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.129, allocations: 0 / 1.228 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001668/1.131, allocations: 0.7066 MB / 1.229 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/1.133, allocations: 0.5282 MB / 1.229 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.149, allocations: 6.936 MB / 1.236 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008448/1.15, allocations: 1.094 MB / 1.237 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001908/1.152, allocations: 395.5 kB / 1.238 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000733/1.153, allocations: 387.3 kB / 1.238 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.153, allocations: 0 / 1.238 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6835/1.836, allocations: 29 MB / 1.266 GB, free: 263.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/1.836, allocations: 289.2 kB / 1.267 GB, free: 262.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/4.353, allocations: 0 / 1.267 GB, free: 262.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat does not exist to compare? outputFormat=mat