Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5103/0.5103, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 221.5 MB / 343.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 97.97 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.324e-05, allocations: 0 / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1727, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.056/5.229, allocations: 1.849 GB / 2.402 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/5.229, allocations: 86.64 kB / 2.402 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.96/9.189, allocations: 0.9984 GB / 3.401 GB, free: 79.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/9.189, allocations: 4.125 kB / 3.401 GB, free: 79.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001044/9.189, allocations: 31.78 kB / 3.401 GB, free: 79.84 MB / 0.6198 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.006322/9.196, allocations: 1.785 MB / 3.402 GB, free: 79.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/9.196, allocations: 9.438 kB / 3.402 GB, free: 79.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003705/9.199, allocations: 0.5429 MB / 3.403 GB, free: 79.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/9.203, allocations: 1.079 MB / 3.404 GB, free: 79.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006731/9.203, allocations: 166.6 kB / 3.404 GB, free: 79.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/9.204, allocations: 57.83 kB / 3.404 GB, free: 79.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002116/9.206, allocations: 0.9906 MB / 3.405 GB, free: 79.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/9.208, allocations: 1.031 MB / 3.406 GB, free: 78.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/9.208, allocations: 4.953 kB / 3.406 GB, free: 78.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/9.208, allocations: 0.6094 kB / 3.406 GB, free: 78.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-05/9.208, allocations: 47.27 kB / 3.406 GB, free: 78.98 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.007941/9.216, allocations: 4.006 MB / 3.41 GB, free: 77.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/9.217, allocations: 0.7308 MB / 3.411 GB, free: 77.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007415/9.218, allocations: 0.4955 MB / 3.411 GB, free: 77.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009962/9.219, allocations: 0.6071 MB / 3.412 GB, free: 76.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/9.219, allocations: 44.28 kB / 3.412 GB, free: 76.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 3.336e-06/9.219, allocations: 1.031 kB / 3.412 GB, free: 76.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.002905/9.222, allocations: 1.134 MB / 3.413 GB, free: 76.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/9.222, allocations: 62.31 kB / 3.413 GB, free: 76.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000914/9.223, allocations: 0.5563 MB / 3.414 GB, free: 76.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/9.223, allocations: 28.89 kB / 3.414 GB, free: 76.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/9.223, allocations: 455.2 kB / 3.414 GB, free: 76.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/9.224, allocations: 250.2 kB / 3.414 GB, free: 76.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/9.224, allocations: 1.219 kB / 3.414 GB, free: 76.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.586e-05/9.224, allocations: 339.2 kB / 3.415 GB, free: 75.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006733/9.224, allocations: 393.7 kB / 3.415 GB, free: 75.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007828/9.225, allocations: 0.5267 MB / 3.416 GB, free: 75.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/9.226, allocations: 0.5829 MB / 3.416 GB, free: 75.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/9.227, allocations: 1.531 kB / 3.416 GB, free: 75.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002164/9.229, allocations: 1.176 MB / 3.417 GB, free: 75.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/9.229, allocations: 486.6 kB / 3.418 GB, free: 75.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/9.229, allocations: 8.703 kB / 3.418 GB, free: 75.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/9.229, allocations: 4.031 kB / 3.418 GB, free: 75.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/9.23, allocations: 280 kB / 3.418 GB, free: 75.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005948/9.231, allocations: 1.202 MB / 3.419 GB, free: 74.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/9.233, allocations: 172.1 kB / 3.419 GB, free: 74.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/9.233, allocations: 39.5 kB / 3.419 GB, free: 74.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/9.233, allocations: 3.781 kB / 3.419 GB, free: 74.06 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002164/9.235, allocations: 1.06 MB / 3.42 GB, free: 74.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/9.235, allocations: 5.094 kB / 3.42 GB, free: 74.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/9.235, allocations: 5 kB / 3.42 GB, free: 74.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/9.236, allocations: 259.2 kB / 3.421 GB, free: 74.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/9.236, allocations: 6.078 kB / 3.421 GB, free: 74.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/9.238, allocations: 174.7 kB / 3.421 GB, free: 74.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/9.238, allocations: 44.27 kB / 3.421 GB, free: 74.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * 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.0003099/9.238, allocations: 116.7 kB / 3.421 GB, free: 73.91 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00222/9.241, allocations: 1.085 MB / 3.422 GB, free: 73.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/9.241, allocations: 93.12 kB / 3.422 GB, free: 73.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/9.243, allocations: 1.198 MB / 3.423 GB, free: 73.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/9.243, allocations: 9.516 kB / 3.423 GB, free: 73.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/9.243, allocations: 0.9688 kB / 3.423 GB, free: 73.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/9.243, allocations: 3.562 kB / 3.423 GB, free: 73.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/9.248, allocations: 2.574 MB / 3.426 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/9.248, allocations: 3.312 kB / 3.426 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/9.249, allocations: 265.9 kB / 3.426 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/9.249, allocations: 9.438 kB / 3.426 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/9.249, allocations: 17.72 kB / 3.426 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000412/9.249, allocations: 1.198 MB / 3.427 GB, free: 72.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/9.25, allocations: 5.344 kB / 3.427 GB, free: 72.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/9.252, allocations: 1.486 MB / 3.429 GB, free: 71.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/9.252, allocations: 313 kB / 3.429 GB, free: 71.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/9.252, allocations: 6.188 kB / 3.429 GB, free: 71.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/9.254, allocations: 153.1 kB / 3.429 GB, free: 71.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/9.254, allocations: 63.33 kB / 3.429 GB, free: 71.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/9.254, allocations: 38.19 kB / 3.429 GB, free: 71.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006296/9.255, allocations: 441.6 kB / 3.43 GB, free: 71.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/9.255, allocations: 0 / 3.43 GB, free: 71.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002248/9.257, allocations: 0.6741 MB / 3.43 GB, free: 71.25 MB / 0.6198 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 () * 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.006302/9.263, allocations: 5.593 MB / 3.436 GB, free: 68.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003625/9.267, allocations: 1.613 MB / 3.437 GB, free: 68.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/9.267, allocations: 3.281 kB / 3.437 GB, free: 68.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/9.268, allocations: 0.5217 MB / 3.438 GB, free: 68.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/9.271, allocations: 428.2 kB / 3.438 GB, free: 68.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/9.285, allocations: 2.535 MB / 3.441 GB, free: 67.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/9.286, allocations: 1.113 MB / 3.442 GB, free: 67.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00204/9.288, allocations: 443.8 kB / 3.442 GB, free: 67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/9.288, allocations: 380.5 kB / 3.443 GB, free: 66.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/9.288, allocations: 1.156 kB / 3.443 GB, free: 66.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07642/9.365, allocations: 43.55 MB / 3.485 GB, free: 65.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/9.365, allocations: 198.8 kB / 3.485 GB, free: 65.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.728/13.09, allocations: 0 / 3.485 GB, free: 65.41 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)