Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.2 MB / 303.2 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 185 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 0.6305 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008418/0.0008418, allocations: 97.19 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004856, allocations: 11.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2587, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8933/1.152, allocations: 265.4 MB / 1.239 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.03777/1.19, allocations: 26.9 MB / 1.265 GB, free: 3.941 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004601/1.195, allocations: 79.44 kB / 1.265 GB, free: 3.863 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.006809/1.201, allocations: 1.664 MB / 1.267 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0173/1.219, allocations: 4.541 MB / 1.271 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.009898/1.229, allocations: 2.606 MB / 1.274 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.009689/1.238, allocations: 3.923 MB / 1.277 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004746/1.243, allocations: 2.242 MB / 1.28 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/1.254, allocations: 3.462 MB / 1.283 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00378/1.257, allocations: 1.591 MB / 1.285 GB, free: 15.79 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000856/1.258, allocations: 132 kB / 1.285 GB, free: 15.66 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006397/1.265, allocations: 2.2 MB / 1.287 GB, free: 13.45 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001492/1.266, allocations: 0.8217 MB / 1.288 GB, free: 12.63 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001621/1.268, allocations: 0.629 MB / 1.288 GB, free: 11.99 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006162/1.274, allocations: 3.616 MB / 1.292 GB, free: 8.367 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.274, allocations: 7.938 kB / 1.292 GB, free: 8.359 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.084e-06/1.274, allocations: 0 / 1.292 GB, free: 8.359 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001614/1.274, allocations: 0 / 1.292 GB, free: 8.359 MB / 0.823 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.007338/1.282, allocations: 2.984 MB / 1.295 GB, free: 5.293 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.282, allocations: 12.03 kB / 1.295 GB, free: 5.281 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007793/1.282, allocations: 299.6 kB / 1.295 GB, free: 4.977 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/1.293, allocations: 1.581 MB / 1.296 GB, free: 3.391 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006426/1.3, allocations: 1.904 MB / 1.298 GB, free: 1.41 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001398/1.301, allocations: 436.2 kB / 1.299 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009078/1.302, allocations: 223.9 kB / 1.299 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007293/1.309, allocations: 3.066 MB / 1.302 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/1.309, allocations: 3.938 kB / 1.302 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/1.31, allocations: 95.98 kB / 1.302 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/1.31, allocations: 92 kB / 1.302 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0079/1.318, allocations: 3.205 MB / 1.305 GB, free: 10.14 MB / 0.8386 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.02706/1.345, allocations: 14.3 MB / 1.319 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004293/1.349, allocations: 1.71 MB / 1.321 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004705/1.35, allocations: 159 kB / 1.321 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/1.35, allocations: 51.56 kB / 1.321 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001673/1.351, allocations: 202 kB / 1.321 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 4.899e-06/1.351, allocations: 0 / 1.321 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=110): time 0.006106/1.358, allocations: 2.406 MB / 1.324 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/1.358, allocations: 64.41 kB / 1.324 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/1.362, allocations: 2.54 MB / 1.326 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003566/1.362, allocations: 61.7 kB / 1.326 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/1.363, allocations: 1.272 MB / 1.328 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/1.364, allocations: 382.5 kB / 1.328 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/1.364, allocations: 36 kB / 1.328 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.364, allocations: 369.9 kB / 1.328 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/1.367, allocations: 0.9954 MB / 1.329 GB, free: 420 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/1.37, allocations: 1.63 MB / 1.331 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/1.373, allocations: 1.2 MB / 1.332 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/1.373, allocations: 4 kB / 1.332 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007241/1.38, allocations: 2.891 MB / 1.335 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002324/1.383, allocations: 5.775 MB / 1.34 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/1.383, allocations: 12 kB / 1.34 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.238e-05/1.383, allocations: 27.94 kB / 1.341 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/1.386, allocations: 0.589 MB / 1.341 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/1.387, allocations: 2.395 MB / 1.343 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003869/1.391, allocations: 435.4 kB / 1.344 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003656/1.392, allocations: 95.95 kB / 1.344 GB, free: 452 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.392, allocations: 4 kB / 1.344 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006261/1.398, allocations: 2.642 MB / 1.347 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.96e-05/1.398, allocations: 16 kB / 1.347 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/1.398, allocations: 24.75 kB / 1.347 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/1.4, allocations: 0.5383 MB / 1.347 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-05/1.401, allocations: 27.92 kB / 1.347 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/1.404, allocations: 375.4 kB / 1.347 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/1.404, allocations: 91.95 kB / 1.348 GB, free: 12.71 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (214): * Single equations (assignments): 208 * 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.001609/1.406, allocations: 0.6332 MB / 1.348 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005461/1.407, allocations: 260.8 kB / 1.348 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/1.411, allocations: 1.874 MB / 1.35 GB, free: 9.918 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/1.411, allocations: 12 kB / 1.35 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.411, allocations: 0 / 1.35 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.411, allocations: 3.984 kB / 1.35 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00916/1.42, allocations: 4.528 MB / 1.355 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/1.42, allocations: 8.094 kB / 1.355 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/1.422, allocations: 319.5 kB / 1.355 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.268e-05/1.422, allocations: 12 kB / 1.355 GB, free: 4.902 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.422, allocations: 40.36 kB / 1.355 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/1.424, allocations: 2.368 MB / 1.357 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.424, allocations: 4 kB / 1.357 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004701/1.428, allocations: 2.506 MB / 1.36 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.43, allocations: 0.5406 MB / 1.36 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/1.43, allocations: 31.97 kB / 1.36 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/1.433, allocations: 281.5 kB / 1.361 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.433, allocations: 88.73 kB / 1.361 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/1.433, allocations: 59.95 kB / 1.361 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003286/1.436, allocations: 1.747 MB / 1.362 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.91e-07/1.436, allocations: 0 / 1.362 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004844/1.441, allocations: 1.295 MB / 1.364 GB, free: 11.53 MB / 0.9011 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.00614/1.447, allocations: 4.761 MB / 1.368 GB, free: 6.586 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.009269/1.457, allocations: 3.707 MB / 1.372 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.457, allocations: 4 kB / 1.372 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/1.459, allocations: 0.8192 MB / 1.373 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006547/1.465, allocations: 1.198 MB / 1.374 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/1.481, allocations: 16.33 MB / 1.39 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/1.482, allocations: 1.747 MB / 1.392 GB, free: 13.97 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003955/1.486, allocations: 0.7857 MB / 1.392 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.487, allocations: 1.011 MB / 1.393 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of SimCode: time 8.82e-07/1.487, allocations: 0 / 1.393 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.61/2.097, allocations: 65.59 MB / 1.457 GB, free: 362.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/2.098, allocations: 277.4 kB / 1.458 GB, free: 362 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.208/6.306, allocations: 4 kB / 1.458 GB, free: 362 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)