Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.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/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.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_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.0009909/0.0009907, allocations: 96.81 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.001118/0.001119, allocations: 175.6 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 1.347/1.347, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6851/0.6851, allocations: 113.7 MB / 405.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 8 kB / 493 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1847, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6362/0.8209, allocations: 166.7 MB / 0.7195 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01949/0.8404, allocations: 7.039 MB / 0.7264 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.8427, allocations: 35.75 kB / 0.7264 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003718/0.8465, allocations: 0.626 MB / 0.727 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.8571, allocations: 1.846 MB / 0.7288 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006401/0.8635, allocations: 1.095 MB / 0.7299 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003656/0.8672, allocations: 1.565 MB / 0.7314 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.8686, allocations: 0.7496 MB / 0.7322 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00328/0.8719, allocations: 1.086 MB / 0.7332 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.8731, allocations: 0.5523 MB / 0.7338 GB, free: 4.816 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.8732, allocations: 44 kB / 0.7338 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003412/0.8766, allocations: 1.096 MB / 0.7349 GB, free: 3.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.877, allocations: 247 kB / 0.7351 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.8773, allocations: 241.1 kB / 0.7354 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.8791, allocations: 1.401 MB / 0.7367 GB, free: 1.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.8791, allocations: 0 / 0.7367 GB, free: 1.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8791, allocations: 0 / 0.7367 GB, free: 1.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.8791, allocations: 0 / 0.7367 GB, free: 1.789 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003326/0.8825, allocations: 1.456 MB / 0.7381 GB, free: 284 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.8825, allocations: 8.031 kB / 0.7382 GB, free: 276 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.8827, allocations: 118.5 kB / 0.7383 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.885, allocations: 482 kB / 0.7387 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.8865, allocations: 0.8661 MB / 0.7396 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006144/0.8872, allocations: 189.9 kB / 0.7398 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.8873, allocations: 72 kB / 0.7398 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.8897, allocations: 1.122 MB / 0.7409 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.8897, allocations: 0 / 0.7409 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.47e-05/0.8898, allocations: 28 kB / 0.7409 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.8898, allocations: 26 kB / 0.741 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003152/0.893, allocations: 1.269 MB / 0.7422 GB, free: 12.05 MB / 0.5606 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.006396/0.8994, allocations: 4.181 MB / 0.7463 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.902, allocations: 0.946 MB / 0.7472 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.9026, allocations: 486.1 kB / 0.7477 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/0.904, allocations: 0.6304 MB / 0.7483 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=57): time 2.364e-06/0.9041, allocations: 0 / 0.7483 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57): time 0.004245/0.9083, allocations: 1.521 MB / 0.7498 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.9084, allocations: 93.61 kB / 0.7499 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.9094, allocations: 0.8278 MB / 0.7507 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.071e-05/0.9095, allocations: 41.7 kB / 0.7507 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.9099, allocations: 432.4 kB / 0.7511 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.9101, allocations: 189.2 kB / 0.7513 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.9101, allocations: 8 kB / 0.7513 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.9102, allocations: 338 kB / 0.7516 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.9115, allocations: 448.7 kB / 0.7521 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.9129, allocations: 0.5548 MB / 0.7526 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.9144, allocations: 495.5 kB / 0.7531 GB, free: 408 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9144, allocations: 96 / 0.7531 GB, free: 408 kB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003059/0.9175, allocations: 1.144 MB / 0.7542 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002802/0.9178, allocations: 0.6397 MB / 0.7548 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.9178, allocations: 4 kB / 0.7548 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.9178, allocations: 7.953 kB / 0.7548 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.9195, allocations: 244.3 kB / 0.7551 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007598/0.9202, allocations: 1.195 MB / 0.7562 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.9215, allocations: 195.3 kB / 0.7564 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.9216, allocations: 27.94 kB / 0.7564 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.9217, allocations: 4 kB / 0.7565 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002805/0.9245, allocations: 1.034 MB / 0.7575 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.9245, allocations: 11.94 kB / 0.7575 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.9245, allocations: 7.984 kB / 0.7575 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/0.9255, allocations: 215.9 kB / 0.7577 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.9255, allocations: 4 kB / 0.7577 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.9267, allocations: 183.3 kB / 0.7579 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.9268, allocations: 27.92 kB / 0.7579 GB, free: 11.35 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * 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.0006429/0.9275, allocations: 346.8 kB / 0.7582 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.9276, allocations: 102.7 kB / 0.7583 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/0.9309, allocations: 1.209 MB / 0.7595 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.9309, allocations: 4 kB / 0.7595 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.9309, allocations: 4 kB / 0.7595 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.9309, allocations: 3.984 kB / 0.7595 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004908/0.9359, allocations: 2.407 MB / 0.7619 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.9359, allocations: 4 kB / 0.7619 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.937, allocations: 216 kB / 0.7621 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.937, allocations: 4 kB / 0.7621 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.438e-05/0.9371, allocations: 27.97 kB / 0.7621 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005923/0.9377, allocations: 1.191 MB / 0.7633 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.9377, allocations: 4 kB / 0.7633 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.9408, allocations: 1.419 MB / 0.7647 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005724/0.9414, allocations: 295.6 kB / 0.7649 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.9415, allocations: 12 kB / 0.765 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.9427, allocations: 159.8 kB / 0.7651 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.9429, allocations: 68.25 kB / 0.7652 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/0.9429, allocations: 31.97 kB / 0.7652 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008667/0.9438, allocations: 0.5743 MB / 0.7658 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9438, allocations: 7.938 kB / 0.7658 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001437/0.9453, allocations: 487 kB / 0.7662 GB, free: 2.512 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.00408/0.9494, allocations: 2.908 MB / 0.7691 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004727/0.9541, allocations: 1.723 MB / 0.7708 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.9541, allocations: 4.062 kB / 0.7708 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.9558, allocations: 0.6041 MB / 0.7713 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.9581, allocations: 462.8 kB / 0.7718 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.972, allocations: 7.161 MB / 0.7788 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007176/0.9728, allocations: 1.062 MB / 0.7798 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001701/0.9745, allocations: 291.1 kB / 0.7801 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007359/0.9753, allocations: 359.3 kB / 0.7804 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/0.9753, allocations: 0 / 0.7804 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/1.023, allocations: 27.26 MB / 0.8071 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.024, allocations: 261.5 kB / 0.8073 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/3.736, allocations: 0 / 0.8073 GB, free: 8.395 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: