Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.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.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",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.00118/0.00118, allocations: 103 kB / 16.4 MB, free: 6.496 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.001057/0.001057, allocations: 197.3 kB / 17.34 MB, free: 5.766 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7209/0.7209, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 69.02 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.07211/0.2055, allocations: 75.13 MB / 0.7049 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01689/0.2224, allocations: 12.75 MB / 0.7174 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.2245, allocations: 67.62 kB / 0.7175 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.2263, allocations: 0.8267 MB / 0.7183 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005561/0.232, allocations: 2.464 MB / 0.7207 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.2352, allocations: 1.401 MB / 0.722 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004979/0.2402, allocations: 4.389 MB / 0.7263 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/0.2424, allocations: 1.436 MB / 0.7277 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003797/0.2462, allocations: 1.652 MB / 0.7293 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.2484, allocations: 1.19 MB / 0.7305 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004599/0.2488, allocations: 164 kB / 0.7307 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003604/0.2525, allocations: 1.404 MB / 0.732 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006064/0.2531, allocations: 398.6 kB / 0.7324 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.2548, allocations: 0.9099 MB / 0.7333 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005162/0.26, allocations: 2.856 MB / 0.7361 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.26, allocations: 0 / 0.7361 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.26, allocations: 0 / 0.7361 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.907e-05/0.2601, allocations: 4 kB / 0.7361 GB, free: 9.496 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005028/0.2651, allocations: 2.079 MB / 0.7381 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2652, allocations: 8.031 kB / 0.7381 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002814/0.2655, allocations: 148.1 kB / 0.7383 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009877/0.2665, allocations: 234.7 kB / 0.7385 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/0.2695, allocations: 1.513 MB / 0.74 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.523e-05/0.2696, allocations: 77.94 kB / 0.74 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.2698, allocations: 96 kB / 0.7401 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.2719, allocations: 1.108 MB / 0.7412 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.272, allocations: 4 kB / 0.7412 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.2721, allocations: 40 kB / 0.7413 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.2721, allocations: 24 kB / 0.7413 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.274, allocations: 0.89 MB / 0.7422 GB, free: 3.121 MB / 0.5762 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.3256/0.5996, allocations: 4.893 MB / 0.7469 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.6012, allocations: 0.6155 MB / 0.7475 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007724/0.602, allocations: 355 kB / 0.7479 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/0.6025, allocations: 0.827 MB / 0.7487 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.6026, allocations: 41.41 kB / 0.7487 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.725e-06/0.6026, allocations: 0 / 0.7487 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.00704/0.6096, allocations: 1.683 MB / 0.7504 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.6097, allocations: 59.58 kB / 0.7504 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.6117, allocations: 1.235 MB / 0.7516 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.6118, allocations: 44.8 kB / 0.7517 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004901/0.6123, allocations: 0.5965 MB / 0.7523 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.6125, allocations: 218.1 kB / 0.7525 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.6128, allocations: 157 kB / 0.7526 GB, free: 106 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.6129, allocations: 332 kB / 0.7529 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007416/0.6136, allocations: 293.5 kB / 0.7532 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008752/0.6145, allocations: 492.7 kB / 0.7537 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.616, allocations: 0.7053 MB / 0.7544 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.616, allocations: 0 / 0.7544 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00458/0.6206, allocations: 1.273 MB / 0.7556 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.6207, allocations: 6.469 kB / 0.7556 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.6207, allocations: 3.312 kB / 0.7556 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007396/0.6215, allocations: 141.2 kB / 0.7558 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.6221, allocations: 160.1 kB / 0.7559 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007847/0.6229, allocations: 0.6915 MB / 0.7566 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.6242, allocations: 118.4 kB / 0.7567 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.278e-05/0.6243, allocations: 34.61 kB / 0.7567 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001197/0.6255, allocations: 0.5503 MB / 0.7573 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009293/0.6264, allocations: 490.5 kB / 0.7577 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001668/0.6281, allocations: 0.7075 MB / 0.7584 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.644e-06/0.6281, allocations: 1.828 kB / 0.7584 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004633/0.6328, allocations: 1.268 MB / 0.7597 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6328, allocations: 12.73 kB / 0.7597 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.6328, allocations: 3.469 kB / 0.7597 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.6334, allocations: 136.2 kB / 0.7598 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/0.6341, allocations: 163.3 kB / 0.76 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007184/0.6348, allocations: 0.686 MB / 0.7606 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.6359, allocations: 102.7 kB / 0.7607 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.5e-05/0.636, allocations: 30.27 kB / 0.7608 GB, free: 101.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002497/0.6363, allocations: 228.4 kB / 0.761 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.6365, allocations: 141.2 kB / 0.7611 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004337/0.6409, allocations: 1.275 MB / 0.7624 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.6409, allocations: 7.875 kB / 0.7624 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.6409, allocations: 0 / 0.7624 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003759/0.6447, allocations: 1.103 MB / 0.7634 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/0.6505, allocations: 2.613 MB / 0.766 GB, free: 99.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6505, allocations: 4.094 kB / 0.766 GB, free: 99.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.651, allocations: 115.3 kB / 0.7661 GB, free: 99.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/0.6515, allocations: 132.2 kB / 0.7662 GB, free: 99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.6515, allocations: 16.25 kB / 0.7663 GB, free: 98.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004474/0.656, allocations: 2.578 MB / 0.7688 GB, free: 96.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.656, allocations: 8.375 kB / 0.7688 GB, free: 96.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/0.6613, allocations: 1.709 MB / 0.7704 GB, free: 95.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/0.662, allocations: 302.5 kB / 0.7707 GB, free: 95.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.6622, allocations: 27.22 kB / 0.7708 GB, free: 95.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/0.6629, allocations: 58.52 kB / 0.7708 GB, free: 95.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.6631, allocations: 59.94 kB / 0.7709 GB, free: 95.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.6631, allocations: 31.72 kB / 0.7709 GB, free: 95.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009691/0.6641, allocations: 0.8768 MB / 0.7718 GB, free: 94.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6641, allocations: 0 / 0.7718 GB, free: 94.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001675/0.6658, allocations: 0.7215 MB / 0.7725 GB, free: 94.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005463/0.6713, allocations: 2.585 MB / 0.775 GB, free: 93.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.6736, allocations: 1.117 MB / 0.7761 GB, free: 92.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.6736, allocations: 0 / 0.7761 GB, free: 92.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.6749, allocations: 0.5713 MB / 0.7766 GB, free: 92.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/0.678, allocations: 0.7986 MB / 0.7774 GB, free: 91.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.6937, allocations: 9.793 MB / 0.787 GB, free: 81.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.6942, allocations: 1.177 MB / 0.7881 GB, free: 80.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001041/0.6953, allocations: 306.8 kB / 0.7884 GB, free: 80.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/0.6958, allocations: 0.4993 MB / 0.7889 GB, free: 79.53 MB / 0.5762 GB Notification: Performance of SimCode: time 9.91e-07/0.6959, allocations: 2.953 kB / 0.7889 GB, free: 79.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06917/0.765, allocations: 43.2 MB / 0.8311 GB, free: 36.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.05, allocations: 18.27 kB / 0.8311 GB, free: 36.78 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)