Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_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.005024/0.005024, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001332/0.001332, allocations: 199.1 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9652/0.9652, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.89 kB / 0.5858 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3569, allocations: 81.02 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6607/1.018, allocations: 328.4 MB / 0.9856 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03413/1.052, allocations: 30.05 MB / 1.015 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003983/1.056, allocations: 101.2 kB / 1.015 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005597/1.062, allocations: 2.086 MB / 1.017 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01418/1.076, allocations: 4.96 MB / 1.022 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00945/1.085, allocations: 3.668 MB / 1.025 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01088/1.096, allocations: 6.923 MB / 1.032 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004547/1.101, allocations: 2.863 MB / 1.035 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/1.114, allocations: 5.272 MB / 1.04 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005061/1.119, allocations: 2.415 MB / 1.043 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008637/1.12, allocations: 296 kB / 1.043 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/1.13, allocations: 4.813 MB / 1.048 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001528/1.132, allocations: 1.059 MB / 1.049 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00261/1.134, allocations: 1.738 MB / 1.05 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/1.145, allocations: 5.778 MB / 1.056 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.145, allocations: 0 / 1.056 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.673e-06/1.145, allocations: 7.938 kB / 1.056 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.293e-05/1.145, allocations: 0 / 1.056 GB, free: 13.28 MB / 0.7481 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.007586/1.153, allocations: 3.793 MB / 1.06 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.153, allocations: 12.03 kB / 1.06 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004007/1.153, allocations: 299.6 kB / 1.06 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009716/1.163, allocations: 1.489 MB / 1.061 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/1.167, allocations: 2.087 MB / 1.063 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/1.167, allocations: 168.1 kB / 1.064 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003886/1.167, allocations: 224 kB / 1.064 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006209/1.174, allocations: 3.042 MB / 1.067 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/1.174, allocations: 0 / 1.067 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002524/1.174, allocations: 88 kB / 1.067 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/1.174, allocations: 88 kB / 1.067 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007346/1.181, allocations: 3.115 MB / 1.07 GB, free: 14.55 MB / 0.7637 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.02303/1.205, allocations: 14.04 MB / 1.084 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/1.209, allocations: 1.665 MB / 1.085 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/1.211, allocations: 0.7744 MB / 1.086 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/1.211, allocations: 328.2 kB / 1.086 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/1.211, allocations: 55.56 kB / 1.086 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001032/1.212, allocations: 202.6 kB / 1.087 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=110): time 5.601e-06/1.212, allocations: 0 / 1.087 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.006164/1.219, allocations: 2.373 MB / 1.089 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/1.219, allocations: 68.34 kB / 1.089 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/1.223, allocations: 2.513 MB / 1.091 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.223, allocations: 57.7 kB / 1.092 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/1.224, allocations: 1.291 MB / 1.093 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/1.224, allocations: 412.5 kB / 1.093 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006954/1.225, allocations: 395.2 kB / 1.094 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.225, allocations: 305.1 kB / 1.094 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/1.228, allocations: 0.9572 MB / 1.095 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003213/1.231, allocations: 1.587 MB / 1.096 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005014/1.236, allocations: 2.257 MB / 1.099 GB, free: 15.59 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/1.236, allocations: 4 kB / 1.099 GB, free: 15.58 MB / 0.795 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006982/1.243, allocations: 2.795 MB / 1.101 GB, free: 12.77 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.089e-05/1.243, allocations: 75.34 kB / 1.101 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.243, allocations: 15.94 kB / 1.101 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/1.243, allocations: 24 kB / 1.101 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/1.246, allocations: 0.554 MB / 1.102 GB, free: 12.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/1.248, allocations: 2.391 MB / 1.104 GB, free: 9.605 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/1.251, allocations: 291.8 kB / 1.105 GB, free: 9.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/1.251, allocations: 87.97 kB / 1.105 GB, free: 9.234 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003533/1.255, allocations: 1.39 MB / 1.106 GB, free: 7.84 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003229/1.258, allocations: 1.584 MB / 1.108 GB, free: 5.988 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005054/1.263, allocations: 2.25 MB / 1.11 GB, free: 3.539 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.207e-06/1.263, allocations: 4 kB / 1.11 GB, free: 3.535 MB / 0.795 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007003/1.27, allocations: 2.786 MB / 1.112 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/1.27, allocations: 75.39 kB / 1.112 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/1.27, allocations: 12 kB / 1.113 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.27, allocations: 27.94 kB / 1.113 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/1.273, allocations: 0.5077 MB / 1.113 GB, free: 96 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.901e-05/1.273, allocations: 27.92 kB / 1.113 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/1.276, allocations: 304.3 kB / 1.113 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/1.276, allocations: 91.95 kB / 1.113 GB, free: 15.68 MB / 0.8106 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 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005311/1.277, allocations: 302.9 kB / 1.114 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005/1.277, allocations: 274.2 kB / 1.114 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00472/1.282, allocations: 1.847 MB / 1.116 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.282, allocations: 8 kB / 1.116 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.282, allocations: 0 / 1.116 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/1.282, allocations: 11.97 kB / 1.116 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00874/1.291, allocations: 4.485 MB / 1.12 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.291, allocations: 8 kB / 1.12 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/1.292, allocations: 308 kB / 1.12 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/1.292, allocations: 12 kB / 1.121 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.462e-05/1.292, allocations: 27.98 kB / 1.121 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/1.294, allocations: 2.368 MB / 1.123 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.294, allocations: 8 kB / 1.123 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/1.298, allocations: 1.992 MB / 1.125 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.299, allocations: 0.5343 MB / 1.125 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003442/1.3, allocations: 27.94 kB / 1.125 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.302, allocations: 177.3 kB / 1.126 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/1.302, allocations: 84.72 kB / 1.126 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.302, allocations: 63.95 kB / 1.126 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003068/1.305, allocations: 1.727 MB / 1.127 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/1.305, allocations: 0 / 1.127 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003126/1.308, allocations: 1.295 MB / 1.129 GB, free: 15.77 MB / 0.8262 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005258/1.314, allocations: 2.817 MB / 1.131 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009136/1.323, allocations: 3.59 MB / 1.135 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.323, allocations: 7.938 kB / 1.135 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/1.325, allocations: 0.8071 MB / 1.136 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005676/1.331, allocations: 1.19 MB / 1.137 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0364/1.367, allocations: 18.89 MB / 1.155 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.369, allocations: 1.697 MB / 1.157 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003193/1.372, allocations: 0.7777 MB / 1.158 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/1.373, allocations: 1.015 MB / 1.159 GB, free: 88 kB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/1.373, allocations: 0 / 1.159 GB, free: 88 kB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.07/2.444, allocations: 64.84 MB / 1.222 GB, free: 379.5 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.29/19.73, allocations: 7.703 kB / 1.222 GB, free: 379.5 MB / 0.8887 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)