Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 252 MB / 267.3 MB, free: 10.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009383/0.0009383, allocations: 167 kB / 327 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 0.578 GB, free: 20.1 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007672/0.0007674, allocations: 95.28 kB / 0.6826 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 14.02 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 106.3 MB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04184/0.2506, allocations: 59.78 MB / 0.9593 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.2673, allocations: 11.8 MB / 0.9708 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.2699, allocations: 51.62 kB / 0.9709 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.2722, allocations: 0.5477 MB / 0.9714 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006842/0.279, allocations: 1.795 MB / 0.9731 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003655/0.2827, allocations: 1.091 MB / 0.9742 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005649/0.2884, allocations: 3.898 MB / 0.978 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.2902, allocations: 0.9031 MB / 0.9789 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.2932, allocations: 1.124 MB / 0.98 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.295, allocations: 0.867 MB / 0.9808 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.2952, allocations: 47.94 kB / 0.9809 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.2984, allocations: 1.306 MB / 0.9822 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.2988, allocations: 214.9 kB / 0.9824 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.2999, allocations: 0.635 MB / 0.983 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003926/0.3038, allocations: 2.212 MB / 0.9852 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3039, allocations: 0 / 0.9852 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.769e-06/0.3039, allocations: 3.984 kB / 0.9852 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.634e-05/0.3039, allocations: 0 / 0.9852 GB, free: 8.633 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003223/0.3072, allocations: 1.497 MB / 0.9866 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.3072, allocations: 8.031 kB / 0.9866 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.3074, allocations: 123 kB / 0.9867 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/0.3099, allocations: 0.5144 MB / 0.9872 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.3122, allocations: 1.144 MB / 0.9884 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003478/0.3125, allocations: 129.9 kB / 0.9885 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.3127, allocations: 87.98 kB / 0.9886 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.3149, allocations: 1.037 MB / 0.9896 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.3149, allocations: 0 / 0.9896 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.723e-05/0.315, allocations: 32 kB / 0.9896 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.3151, allocations: 20 kB / 0.9896 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.3177, allocations: 0.9954 MB / 0.9906 GB, free: 2.895 MB / 0.6355 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.006807/0.3245, allocations: 4.718 MB / 0.9952 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004291/0.3289, allocations: 1.131 MB / 0.9963 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.3301, allocations: 433.9 kB / 0.9967 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.3311, allocations: 1.037 MB / 0.9977 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3312, allocations: 35 kB / 0.9978 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 3.347e-06/0.3312, allocations: 0 / 0.9978 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53): time 0.008235/0.3394, allocations: 2.158 MB / 0.9999 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3395, allocations: 59.78 kB / 0.9999 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.3408, allocations: 0.9474 MB / 1.001 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-05/0.341, allocations: 37.7 kB / 1.001 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.3414, allocations: 0.5042 MB / 1.001 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.3416, allocations: 185.2 kB / 1.002 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.3416, allocations: 12 kB / 1.002 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3418, allocations: 330 kB / 1.002 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.3429, allocations: 372.9 kB / 1.002 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.3441, allocations: 0.5399 MB / 1.003 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.3463, allocations: 0.8127 MB / 1.004 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.3463, allocations: 4 kB / 1.004 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003372/0.3497, allocations: 1.119 MB / 1.005 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002503/0.3499, allocations: 168.5 kB / 1.005 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.35, allocations: 0 / 1.005 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.3514, allocations: 334.3 kB / 1.005 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.3521, allocations: 143.8 kB / 1.005 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.3537, allocations: 0.9386 MB / 1.006 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.355, allocations: 179.2 kB / 1.006 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.3551, allocations: 31.97 kB / 1.006 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3551, allocations: 4 kB / 1.006 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002706/0.3578, allocations: 0.9859 MB / 1.007 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3579, allocations: 7.984 kB / 1.007 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.359, allocations: 314.2 kB / 1.008 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.3597, allocations: 147.8 kB / 1.008 GB, free: 424 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.3611, allocations: 0.937 MB / 1.009 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.3624, allocations: 163.5 kB / 1.009 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/0.3625, allocations: 31.97 kB / 1.009 GB, free: 15.26 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005983/0.3631, allocations: 345 kB / 1.009 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/0.3634, allocations: 114.5 kB / 1.009 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/0.3668, allocations: 1.225 MB / 1.011 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.3668, allocations: 8 kB / 1.011 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3669, allocations: 0 / 1.011 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3669, allocations: 7.922 kB / 1.011 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005069/0.3719, allocations: 2.319 MB / 1.013 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.372, allocations: 0 / 1.013 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.3726, allocations: 115.8 kB / 1.013 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.3737, allocations: 331.3 kB / 1.013 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.3738, allocations: 19.98 kB / 1.013 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.3754, allocations: 0.9774 MB / 1.014 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.3754, allocations: 3.938 kB / 1.014 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003983/0.3794, allocations: 1.398 MB / 1.016 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006754/0.3801, allocations: 287.4 kB / 1.016 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.3803, allocations: 12 kB / 1.016 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.3814, allocations: 135.7 kB / 1.016 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3816, allocations: 40.31 kB / 1.016 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.168e-05/0.3816, allocations: 23.98 kB / 1.016 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001231/0.3829, allocations: 0.6638 MB / 1.017 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3829, allocations: 0 / 1.017 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001845/0.3847, allocations: 0.5613 MB / 1.017 GB, free: 6.516 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004614/0.3894, allocations: 2.064 MB / 1.019 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00412/0.3935, allocations: 1.381 MB / 1.021 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3936, allocations: 0 / 1.021 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.3949, allocations: 488.9 kB / 1.021 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/0.3982, allocations: 0.5065 MB / 1.022 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/0.4185, allocations: 9.142 MB / 1.031 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/0.4192, allocations: 1.07 MB / 1.032 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001168/0.4204, allocations: 236.5 kB / 1.032 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006187/0.421, allocations: 415.3 kB / 1.032 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of SimCode: time 7.42e-07/0.421, allocations: 0 / 1.032 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4399/0.8609, allocations: 31.69 MB / 1.063 GB, free: 147.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/0.8611, allocations: 295.3 kB / 1.063 GB, free: 146.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.261/4.122, allocations: 0 / 1.063 GB, free: 146.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)