Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",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.001302/0.001302, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 176.2 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.508/2.508, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.211/1.211, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008069/0.0008071, allocations: 12 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.356, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.368/1.724, allocations: 265.3 MB / 0.8158 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.9477/2.672, allocations: 27.1 MB / 0.8423 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006423/2.679, allocations: 79.67 kB / 0.8424 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.008896/2.688, allocations: 1.661 MB / 0.844 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.02723/2.715, allocations: 4.838 MB / 0.8487 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01722/2.732, allocations: 2.463 MB / 0.8511 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01859/2.751, allocations: 3.937 MB / 0.855 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/2.761, allocations: 2.237 MB / 0.8572 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0175/2.779, allocations: 3.47 MB / 0.8605 GB, free: 23.57 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006203/2.785, allocations: 1.603 MB / 0.8621 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001882/2.787, allocations: 129.5 kB / 0.8622 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/2.801, allocations: 2.199 MB / 0.8644 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003941/2.805, allocations: 0.8189 MB / 0.8652 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003521/2.809, allocations: 0.632 MB / 0.8658 GB, free: 23.53 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01217/2.821, allocations: 3.624 MB / 0.8693 GB, free: 23.26 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/2.821, allocations: 4 kB / 0.8693 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.408e-06/2.821, allocations: 0 / 0.8693 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.00017/2.821, allocations: 0 / 0.8693 GB, free: 23.25 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01422/2.836, allocations: 3.001 MB / 0.8723 GB, free: 21.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/2.836, allocations: 11.78 kB / 0.8723 GB, free: 21.7 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001703/2.837, allocations: 299 kB / 0.8726 GB, free: 21.65 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02011/2.858, allocations: 1.583 MB / 0.8741 GB, free: 21.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009601/2.867, allocations: 1.91 MB / 0.876 GB, free: 20.61 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002602/2.87, allocations: 435.4 kB / 0.8764 GB, free: 20.5 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/2.871, allocations: 220.7 kB / 0.8766 GB, free: 20.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/2.885, allocations: 3.08 MB / 0.8796 GB, free: 19.52 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.127e-05/2.886, allocations: 1.859 kB / 0.8796 GB, free: 19.52 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006513/2.886, allocations: 89.09 kB / 0.8797 GB, free: 19.52 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/2.886, allocations: 93.78 kB / 0.8798 GB, free: 19.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/2.902, allocations: 3.202 MB / 0.8829 GB, free: 18.91 MB / 0.6387 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.05081/2.953, allocations: 14.28 MB / 0.8969 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008116/2.961, allocations: 1.702 MB / 0.8985 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008888/2.962, allocations: 158.8 kB / 0.8987 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/2.962, allocations: 52.56 kB / 0.8987 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003492/2.965, allocations: 196.6 kB / 0.8989 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 1.433e-05/2.965, allocations: 0 / 0.8989 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110): time 0.01262/2.978, allocations: 2.401 MB / 0.9013 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/2.978, allocations: 61.78 kB / 0.9013 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008267/2.987, allocations: 2.54 MB / 0.9038 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007422/2.987, allocations: 56.73 kB / 0.9039 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/2.989, allocations: 1.274 MB / 0.9051 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000779/2.99, allocations: 386.4 kB / 0.9055 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/2.99, allocations: 35.56 kB / 0.9055 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002653/2.99, allocations: 372.5 kB / 0.9059 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003997/2.994, allocations: 0.9866 MB / 0.9068 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005229/3, allocations: 1.606 MB / 0.9084 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004772/3.005, allocations: 1.197 MB / 0.9096 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/3.005, allocations: 3.312 kB / 0.9096 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.01179/3.016, allocations: 2.843 MB / 0.9123 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.003068/3.02, allocations: 5.59 MB / 0.9178 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-05/3.02, allocations: 14.69 kB / 0.9178 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.057e-05/3.02, allocations: 22.03 kB / 0.9178 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005869/3.026, allocations: 0.5779 MB / 0.9184 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/3.028, allocations: 2.399 MB / 0.9207 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008521/3.037, allocations: 446.2 kB / 0.9212 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007151/3.037, allocations: 88.95 kB / 0.9212 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/3.038, allocations: 3.125 kB / 0.9213 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01344/3.051, allocations: 2.615 MB / 0.9238 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-05/3.051, allocations: 16 kB / 0.9238 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.82e-05/3.051, allocations: 20 kB / 0.9238 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005447/3.057, allocations: 0.5253 MB / 0.9244 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.718e-05/3.057, allocations: 34.81 kB / 0.9244 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00831/3.065, allocations: 377.9 kB / 0.9247 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009691/3.066, allocations: 93.83 kB / 0.9248 GB, free: 8.938 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003561/3.07, allocations: 0.6207 MB / 0.9254 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00149/3.071, allocations: 256.8 kB / 0.9257 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00987/3.081, allocations: 1.884 MB / 0.9275 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/3.081, allocations: 16 kB / 0.9275 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/3.081, allocations: 0 / 0.9275 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.423e-05/3.081, allocations: 10.47 kB / 0.9276 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01953/3.101, allocations: 4.531 MB / 0.932 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/3.101, allocations: 4 kB / 0.932 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/3.104, allocations: 316.8 kB / 0.9323 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.121e-05/3.104, allocations: 12 kB / 0.9323 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/3.105, allocations: 29.67 kB / 0.9323 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/3.107, allocations: 2.368 MB / 0.9346 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.586e-05/3.107, allocations: 10.62 kB / 0.9346 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008429/3.115, allocations: 2.507 MB / 0.9371 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003431/3.119, allocations: 0.5436 MB / 0.9376 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/3.12, allocations: 22.25 kB / 0.9376 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005487/3.126, allocations: 286.5 kB / 0.9379 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/3.126, allocations: 94.38 kB / 0.938 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004532/3.127, allocations: 65.45 kB / 0.9381 GB, free: 13.68 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008857/3.136, allocations: 1.751 MB / 0.9398 GB, free: 12.41 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.733e-06/3.136, allocations: 0 / 0.9398 GB, free: 12.41 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01215/3.148, allocations: 1.299 MB / 0.941 GB, free: 11.18 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01248/3.161, allocations: 4.753 MB / 0.9457 GB, free: 6.785 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01933/3.18, allocations: 3.664 MB / 0.9493 GB, free: 3.984 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.459e-05/3.18, allocations: 4 kB / 0.9493 GB, free: 3.98 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004347/3.184, allocations: 0.8259 MB / 0.9501 GB, free: 3.379 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01364/3.198, allocations: 1.218 MB / 0.9513 GB, free: 2.371 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03318/3.231, allocations: 16 MB / 0.9669 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/3.234, allocations: 1.747 MB / 0.9686 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00864/3.243, allocations: 0.7896 MB / 0.9694 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003098/3.246, allocations: 1.011 MB / 0.9704 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of SimCode: time 2.695e-06/3.246, allocations: 4 kB / 0.9704 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1983/3.444, allocations: 66.08 MB / 1.035 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/3.445, allocations: 256.3 kB / 1.035 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/10.36, allocations: 4 kB / 1.035 GB, free: 14.15 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) Environment - environmentSimulation: