Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.0009483/0.0009485, allocations: 86.8 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.001161/0.001161, 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.556/1.556, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.821/2.821, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 12 kB / 0.8378 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8758/0.8762, allocations: 146.8 MB / 0.9811 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2421/1.118, allocations: 195.2 MB / 1.172 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01129/1.13, allocations: 6.622 MB / 1.178 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/1.131, allocations: 35.75 kB / 1.178 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/1.133, allocations: 0.5005 MB / 1.179 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005949/1.139, allocations: 1.806 MB / 1.18 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002898/1.142, allocations: 0.8993 MB / 1.181 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004801/1.147, allocations: 3.202 MB / 1.184 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/1.149, allocations: 0.7883 MB / 1.185 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/1.153, allocations: 1.525 MB / 1.187 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/1.155, allocations: 0.8676 MB / 1.188 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/1.155, allocations: 44 kB / 1.188 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003962/1.159, allocations: 1.543 MB / 1.189 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004832/1.159, allocations: 342.8 kB / 1.189 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005864/1.16, allocations: 273.1 kB / 1.19 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003362/1.163, allocations: 1.715 MB / 1.191 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.163, allocations: 0 / 1.191 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.174e-06/1.163, allocations: 0 / 1.191 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.166e-05/1.164, allocations: 0 / 1.191 GB, free: 14.41 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.00452/1.168, allocations: 1.61 MB / 1.193 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/1.168, allocations: 12.03 kB / 1.193 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/1.168, allocations: 135.1 kB / 1.193 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/1.171, allocations: 0.5838 MB / 1.194 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/1.173, allocations: 0.9297 MB / 1.195 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/1.174, allocations: 197.8 kB / 1.195 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/1.174, allocations: 84 kB / 1.195 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/1.177, allocations: 1.264 MB / 1.196 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.177, allocations: 0 / 1.196 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.177, allocations: 32 kB / 1.196 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.354e-05/1.177, allocations: 45.98 kB / 1.196 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003639/1.181, allocations: 1.608 MB / 1.198 GB, free: 7.801 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.006883/1.188, allocations: 4.092 MB / 1.202 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/1.19, allocations: 1.057 MB / 1.203 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/1.192, allocations: 0.6904 MB / 1.203 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.193, allocations: 0.636 MB / 1.204 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/1.193, allocations: 43.17 kB / 1.204 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 2.895e-06/1.193, allocations: 0 / 1.204 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.004911/1.198, allocations: 1.914 MB / 1.206 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/1.198, allocations: 60.06 kB / 1.206 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/1.199, allocations: 0.8115 MB / 1.207 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/1.199, allocations: 41.7 kB / 1.207 GB, free: 14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/1.2, allocations: 444.5 kB / 1.207 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/1.2, allocations: 272.1 kB / 1.208 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/1.2, allocations: 12 kB / 1.208 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.2, allocations: 338 kB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/1.202, allocations: 0.5563 MB / 1.208 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/1.203, allocations: 0.6785 MB / 1.209 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/1.204, allocations: 0.6177 MB / 1.21 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.204, allocations: 0 / 1.21 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003272/1.208, allocations: 1.4 MB / 1.211 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001669/1.208, allocations: 147.8 kB / 1.211 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.208, allocations: 0 / 1.211 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/1.208, allocations: 4 kB / 1.211 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.209, allocations: 287.6 kB / 1.211 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008334/1.21, allocations: 1.195 MB / 1.213 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.212, allocations: 187.4 kB / 1.213 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.571e-05/1.212, allocations: 35.98 kB / 1.213 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.212, allocations: 4 kB / 1.213 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003018/1.215, allocations: 1.305 MB / 1.214 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.215, allocations: 0 / 1.214 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/1.215, allocations: 4 kB / 1.214 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/1.216, allocations: 251.8 kB / 1.214 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.216, allocations: 4 kB / 1.214 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.217, allocations: 195.1 kB / 1.215 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/1.217, allocations: 31.98 kB / 1.215 GB, free: 5.934 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.0006635/1.218, allocations: 372.9 kB / 1.215 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/1.218, allocations: 106.8 kB / 1.215 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/1.222, allocations: 1.437 MB / 1.216 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.222, allocations: 11.94 kB / 1.216 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.222, allocations: 3.984 kB / 1.216 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.222, allocations: 3.984 kB / 1.216 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005624/1.227, allocations: 2.929 MB / 1.219 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.227, allocations: 4 kB / 1.219 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.229, allocations: 251.9 kB / 1.22 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/1.229, allocations: 8 kB / 1.22 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.701e-05/1.229, allocations: 23.97 kB / 1.22 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007306/1.229, allocations: 1.195 MB / 1.221 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.229, allocations: 4 kB / 1.221 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/1.233, allocations: 1.529 MB / 1.222 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007425/1.233, allocations: 315.5 kB / 1.223 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/1.234, allocations: 19.98 kB / 1.223 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.235, allocations: 163.7 kB / 1.223 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/1.235, allocations: 68.38 kB / 1.223 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/1.235, allocations: 35.97 kB / 1.223 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009532/1.236, allocations: 0.5583 MB / 1.223 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.236, allocations: 0 / 1.223 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00185/1.238, allocations: 0.5341 MB / 1.224 GB, free: 12.12 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.004303/1.242, allocations: 2.249 MB / 1.226 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005429/1.248, allocations: 2.123 MB / 1.228 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.248, allocations: 0 / 1.228 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/1.25, allocations: 0.7028 MB / 1.229 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/1.253, allocations: 0.5198 MB / 1.229 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.269, allocations: 6.942 MB / 1.236 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/1.27, allocations: 1.094 MB / 1.237 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002003/1.272, allocations: 395.5 kB / 1.238 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007447/1.273, allocations: 395.2 kB / 1.238 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of SimCode: time 1.513e-06/1.273, allocations: 0 / 1.238 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.637/1.91, allocations: 28.98 MB / 1.266 GB, free: 262.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.91, allocations: 274.5 kB / 1.267 GB, free: 262.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/4.582, allocations: 0 / 1.267 GB, free: 262.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat